Skip to content

Commit 799bc38

Browse files
committed
Fix building Docker image for cross-compilation:
* Debian stretch packages are now available only from archive.debian.org * Use rust 1.71 - MIPS target demoted to tier 3 at 1.72 Signed-off-by: Dariusz Olszewski <[email protected]> (cherry picked from commit 3c0d998)
1 parent 2288759 commit 799bc38

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

contrib/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515

1616
FROM debian:stretch
1717

18+
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list
19+
RUN echo "deb http://archive.debian.org/debian stretch-proposed-updates main" >> /etc/apt/sources.list
20+
RUN echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
21+
1822
RUN dpkg --add-architecture arm64
1923
RUN dpkg --add-architecture armhf
2024
RUN dpkg --add-architecture armel
@@ -25,7 +29,7 @@ RUN apt-get install -y curl git build-essential crossbuild-essential-arm64 cross
2529
RUN apt-get install -y libasound2-dev libasound2-dev:arm64 libasound2-dev:armel libasound2-dev:armhf libasound2-dev:mipsel
2630
RUN apt-get install -y libpulse0 libpulse0:arm64 libpulse0:armel libpulse0:armhf
2731

28-
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
32+
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.71 -y
2933
ENV PATH="/root/.cargo/bin/:${PATH}"
3034
RUN rustup target add aarch64-unknown-linux-gnu
3135
RUN rustup target add arm-unknown-linux-gnueabi

0 commit comments

Comments
 (0)