Browse Source

Upgrade rust image to debian:bullseye

pull/145/head
Jérémy DECOOL 2 years ago
parent
commit
31e5e5a464
No known key found for this signature in database GPG Key ID: 60D6FF1081E8575
  1. 4
      rust/Dockerfile
  2. 2
      rust/install.sh

4
rust/Dockerfile

@ -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

2
rust/install.sh

@ -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

Loading…
Cancel
Save