added rustup update command

This commit is contained in:
2025-07-18 16:37:10 +08:00
parent 14948a13e1
commit 721923a0ca

View File

@@ -95,6 +95,7 @@ RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed \
protobuf
USER luser
WORKDIR /home/luser
RUN rustup update
RUN rustup toolchain install stable-x86_64-unknown-linux-gnu --profile minimal
RUN rustup component add rustfmt
RUN rustup target add \
@@ -106,7 +107,6 @@ RUN rustup target add \
aarch64-unknown-linux-gnu \
wasm32-unknown-unknown \
wasm32-wasip2
RUN rustup update
FROM base AS gitea_act_runner
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed nodejs npm docker docker-buildx btrfs-progs hidapi protobuf rustup llvm clang trunk emscripten
@@ -115,6 +115,7 @@ RUN --mount=type=bind,source=woggioni.net.ca.pem,target=/root.pem trust anchor r
RUN usermod -a luser -G docker
USER luser
WORKDIR /home/luser
RUN rustup update
RUN rustup toolchain install stable-x86_64-unknown-linux-gnu --profile minimal
RUN rustup component add rustfmt
RUN rustup target add \