openwrt-builder image
All checks were successful
CI / Build arch-builder docker images (push) Successful in 21m10s

This commit is contained in:
2026-03-12 07:48:01 +08:00
parent c05d07b130
commit 4ce40fa88f
2 changed files with 17 additions and 0 deletions

View File

@@ -78,6 +78,11 @@ RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed \
USER luser
WORKDIR /home/luser
FROM base AS openwrt-builder
RUN mkdir -p /etc/cargo
COPY --chown=1000:1000 config.toml /home/luser/.cargo/config.toml
RUN --mount=type=cache,target=/var/cache/pacman pacman -S --noconfirm --needed rustup go
FROM base AS rust
RUN mkdir -p /etc/cargo
COPY --chown=1000:1000 config.toml /home/luser/.cargo/config.toml