Skip to content

Commit

Permalink
lock rust compiler version
Browse files Browse the repository at this point in the history
  • Loading branch information
CaKrome committed Jul 3, 2024
1 parent 44597a0 commit 98b7f2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ FROM quay.io/almalinux/almalinux:9 AS compile-image

ENV SHADOWSOCKS_VER=1.20.1
ENV V2RAY_PLUGIN_VER=1.3.2
ENV RUST_VER=1.79.0

WORKDIR /root

RUN set -ex && dnf upgrade -y && dnf install -y binutils wget make gcc xz

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=${RUST_VER} -y

RUN wget https://github.com/shadowsocks/shadowsocks-rust/archive/refs/tags/v${SHADOWSOCKS_VER}.tar.gz
RUN tar -xf v${SHADOWSOCKS_VER}.tar.gz
Expand Down

0 comments on commit 98b7f2f

Please sign in to comment.