Don't forget to update xbps on final stage too
continuous-integration/drone/push Build is passing Details

This commit is contained in:
projectmoon 2024-09-25 23:06:20 +02:00
parent e309fd1fc6
commit 38a7e50c5c
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ RUN . /root/.cargo/env && cargo build --release
# Final image # Final image
FROM ghcr.io/void-linux/void-linux:latest-mini-x86_64 FROM ghcr.io/void-linux/void-linux:latest-mini-x86_64
RUN xbps-install -S
RUN xbps-install -yu xbps
RUN xbps-install -Syu
RUN xbps-install -Sy ca-certificates libstdc++ RUN xbps-install -Sy ca-certificates libstdc++
COPY --from=builder \ COPY --from=builder \
/root/src/target/release/dicebot \ /root/src/target/release/dicebot \