diff --git a/Dockerfile b/Dockerfile index 6d8108a..a333edc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ ARG UBUNTU_VERSION=latest FROM ubuntu:${UBUNTU_VERSION} LABEL AUTHOR=Lauren WORKDIR /opt/setup -RUN apt update +RUN apt update && apt install nodejs curl mingw-w64 COPY setup.sh /opt/setup/setup.sh -RUN bash /opt/setup/setup.sh \ No newline at end of file +RUN bash /opt/setup/setup.sh +ENV PATH=$PATH:$HOME/.cargo/bin \ No newline at end of file diff --git a/setup.sh b/setup.sh index c275197..8eb9d51 100644 --- a/setup.sh +++ b/setup.sh @@ -1,5 +1,4 @@ #!/usr/bin/env bash -apt install -y mingw-w64 curl nodejs curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y export PATH=$PATH:/root/.cargo/bin rustup toolchain install stable