File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
support/rust-build/x86_64-unknown-linux-gnu Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,19 @@ FROM ubuntu:22.04
33ENV DEBIAN_FRONTEND=noninteractive
44ENV LC_ALL=C.UTF-8
55ENV LANG=C.UTF-8
6+ RUN sudo dpkg --add-architecture amd64 && \
7+ cat > /etc/apt/sources.list.d/amd64.list <<EOF
8+ deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
9+ deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
10+ deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
11+ deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
12+ EOF
613RUN apt-get update \
714 && apt-get install -y vim nano git curl gcc ninja-build cmake libudev-dev python3 python3-pip libusb-1.0-0 libssl-dev \
815 pkg-config libtinfo5 \
916 gcc-x86-64-linux-gnu \
10- g++-x86-64-linux-gnu
17+ g++-x86-64-linux-gnu \
18+ libc6:amd64
1119
1220RUN adduser --disabled-password --gecos "" rust
1321USER rust
You can’t perform that action at this time.
0 commit comments