Skip to content

Commit 08eba13

Browse files
committed
install glibc for amd64 too
1 parent c71766b commit 08eba13

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

support/rust-build/x86_64-unknown-linux-gnu/Containerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@ FROM ubuntu:22.04
33
ENV DEBIAN_FRONTEND=noninteractive
44
ENV LC_ALL=C.UTF-8
55
ENV LANG=C.UTF-8
6-
RUN apt-get update \
7-
&& apt-get install -y vim nano git curl gcc ninja-build cmake libudev-dev python3 python3-pip libusb-1.0-0 libssl-dev \
6+
RUN apt-get update
7+
RUN echo '\
8+
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse\n\
9+
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse\n\
10+
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse\n\
11+
deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse\n\
12+
' >> /etc/apt/sources.list
13+
RUN apt-get update
14+
RUN dpkg --add-architecture amd64
15+
RUN apt-get install libc6:amd64 -y
16+
RUN apt-get install -y vim nano git curl gcc ninja-build cmake libudev-dev python3 python3-pip libusb-1.0-0 libssl-dev \
817
pkg-config libtinfo5 \
918
gcc-x86-64-linux-gnu \
1019
g++-x86-64-linux-gnu

0 commit comments

Comments
 (0)