fixed docker build cache for arch-builder image
This commit is contained in:
@@ -114,6 +114,7 @@ RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed g
|
||||
RUN --mount=type=bind,source=woggioni.net.ca.pem,target=/root.pem trust anchor root.pem
|
||||
RUN usermod -a luser -G docker
|
||||
USER luser
|
||||
WORKDIR /home/luser
|
||||
RUN rustup toolchain install stable-x86_64-unknown-linux-gnu --profile minimal
|
||||
RUN rustup component add rustfmt
|
||||
RUN rustup target add \
|
||||
@@ -125,7 +126,6 @@ RUN rustup target add \
|
||||
aarch64-unknown-linux-gnu \
|
||||
wasm32-unknown-unknown \
|
||||
wasm32-wasip2
|
||||
RUN npm install wrangler
|
||||
RUN npm install -D wrangler
|
||||
ENV PATH="/home/luser/.local/bin:/home/luser/.cargo/bin:${PATH}"
|
||||
WORKDIR /home/luser
|
||||
CMD ["/usr/lib/gitea/act_runner/act_runner", "daemon", "--config", "/var/lib/gitea/act_runner.yaml"]
|
||||
|
Reference in New Issue
Block a user