Browse Source
Upgrade rust image to debian:bullseye
pull/145/head
Jérémy DECOOL
3 years ago
No known key found for this signature in database
GPG Key ID: 60D6FF1081E8575
2 changed files with
3 additions and
3 deletions
-
rust/Dockerfile
-
rust/install.sh
|
|
@ -1,11 +1,11 @@ |
|
|
|
FROM debian:wheezy |
|
|
|
FROM debian:bullseye |
|
|
|
LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>" |
|
|
|
|
|
|
|
# needed by cargo |
|
|
|
ENV USER root |
|
|
|
|
|
|
|
ADD install.sh install.sh |
|
|
|
RUN sh install.sh && rm install.sh |
|
|
|
RUN bash install.sh && rm install.sh |
|
|
|
|
|
|
|
ENV PATH=/root/.cargo/bin:$PATH |
|
|
|
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
|
set -eo pipefail |
|
|
|
|
|
|
|
# install curl (needed to install rust) |
|
|
|
apt-get update && apt-get install -y curl gdb g++-multilib lib32stdc++6 libssl-dev libncurses5-dev |
|
|
|
apt-get update && apt-get install -y curl gdb |
|
|
|
|
|
|
|
# install rust + cargo nightly |
|
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly |
|
|
|
xxxxxxxxxx