diff --git a/rust/Dockerfile b/rust/Dockerfile index 878b874..d05f563 100644 --- a/rust/Dockerfile +++ b/rust/Dockerfile @@ -1,11 +1,11 @@ -FROM debian:wheezy +FROM debian:bullseye LABEL maintainer="Johannes Schickling " # 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 diff --git a/rust/install.sh b/rust/install.sh index cef1c57..9db5412 100644 --- a/rust/install.sh +++ b/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