File tree 6 files changed +36
-15
lines changed
arm-unknown-linux-gnueabihf
arm-unknown-linux-musleabihf
armv7-unknown-linux-uclibceabihf
powerpc-unknown-linux-gnu
6 files changed +36
-15
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu:23.10
2
- RUN apt-get update && apt-get install -y --no-install-recommends \
3
- gcc libc6-dev ca-certificates \
4
- gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user
2
+
3
+ # FIXME(time): we are using an EOL release because 24.04 changes to 64-bit time
4
+ RUN sed -i -E 's/(archive|security)\. ubuntu\. com/old-releases.ubuntu.com/g' \
5
+ /etc/apt/sources.list && \
6
+ apt-get update && apt-get install -y --no-install-recommends \
7
+ gcc libc6-dev ca-certificates \
8
+ gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user
5
9
ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc \
6
10
CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_RUNNER="qemu-arm -L /usr/arm-linux-gnueabihf" \
7
11
PATH=$PATH:/rust/bin
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:23.10
2
2
3
- RUN apt-get update && apt-get install -y --no-install-recommends \
4
- gcc make libc6-dev git curl ca-certificates \
5
- gcc-arm-linux-gnueabihf qemu-user
3
+ # FIXME(time): we are using an EOL release because 24.04 changes to 64-bit time
4
+ RUN sed -i -E 's/(archive|security)\. ubuntu\. com/old-releases.ubuntu.com/g' \
5
+ /etc/apt/sources.list && \
6
+ apt-get update && apt-get install -y --no-install-recommends \
7
+ gcc make libc6-dev git curl ca-certificates \
8
+ gcc-arm-linux-gnueabihf qemu-user
6
9
7
10
COPY install-musl.sh /
8
11
RUN sh /install-musl.sh arm
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:23.10
2
2
3
- RUN apt-get update && apt-get install -y --no-install-recommends \
3
+ # FIXME(time): we are using an EOL release because 24.04 changes to 64-bit time
4
+ RUN sed -i -E 's/(archive|security)\. ubuntu\. com/old-releases.ubuntu.com/g' \
5
+ /etc/apt/sources.list && \
6
+ apt-get update && apt-get install -y --no-install-recommends \
4
7
gcc libc6-dev qemu-user ca-certificates qemu-system-arm curl \
5
8
xz-utils patch file
6
9
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:23.10
2
- RUN apt-get update
3
- RUN apt-get install -y --no-install-recommends \
4
- gcc-multilib libc6-dev ca-certificates
2
+
3
+
4
+ # FIXME(time): we are using an EOL release because 24.04 changes to 64-bit time
5
+ RUN sed -i -E 's/(archive|security)\. ubuntu\. com/old-releases.ubuntu.com/g' \
6
+ /etc/apt/sources.list && \
7
+ apt-get update && apt-get install -y --no-install-recommends \
8
+ gcc-multilib libc6-dev ca-certificates
9
+
5
10
ENV PATH=$PATH:/rust/bin
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:23.10
2
2
3
- RUN dpkg --add-architecture i386
4
- RUN apt-get update
5
- RUN apt-get install -y --no-install-recommends \
6
- gcc-multilib make libc6-dev git curl ca-certificates libc6-i386
3
+
4
+ # FIXME(time): we are using an EOL release because 24.04 changes to 64-bit time
5
+ RUN sed -i -E 's/(archive|security)\. ubuntu\. com/old-releases.ubuntu.com/g' \
6
+ /etc/apt/sources.list && \
7
+ dpkg --add-architecture i386 && \
8
+ apt-get update && apt-get install -y --no-install-recommends \
9
+ gcc-multilib make libc6-dev git curl ca-certificates libc6-i386
7
10
8
11
COPY install-musl.sh /
9
12
RUN sh /install-musl.sh i686
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:23.10
2
2
3
- RUN apt-get update && apt-get install -y --no-install-recommends \
3
+ # FIXME(time): we are using an EOL release because 24.04 changes to 64-bit time
4
+ RUN sed -i -E 's/(archive|security)\. ubuntu\. com/old-releases.ubuntu.com/g' \
5
+ /etc/apt/sources.list && \
6
+ apt-get update && apt-get install -y --no-install-recommends \
4
7
gcc libc6-dev qemu-user ca-certificates \
5
8
gcc-powerpc-linux-gnu libc6-dev-powerpc-cross \
6
9
qemu-system-ppc
You can’t perform that action at this time.
0 commit comments