update images

This commit is contained in:
sfja 2026-03-28 13:32:51 +01:00
parent db20d4986f
commit c7018a8b82
3 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,6 @@ jobs:
container: sfja/h5-mst-ci:latest container: sfja/h5-mst-ci:latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- run: rustup default stable
- name: Check - name: Check
working-directory: ./game working-directory: ./game
run: cargo check run: cargo check

View File

@ -1,13 +1,14 @@
FROM docker.io/alpine:3.23.3 AS builder FROM alpine:3.23 AS builder
WORKDIR /workspace WORKDIR /workspace
RUN apk add build-base RUN apk add build-base mosquitto-dev
COPY Makefile . COPY Makefile .
COPY src src COPY src src
COPY tests tests COPY tests tests
RUN make RELEASE=1 build/backend RUN make RELEASE=1 build/backend
FROM docker.io/alpine:3.23.3 AS runner FROM alpine:3.23 AS runner
WORKDIR /workspace WORKDIR /workspace
RUN apk add libstdc++ RUN apk add libstdc++ mosquitto-libs
COPY --from=builder /workspace/build/backend /workspace COPY --from=builder /workspace/build/backend /workspace
CMD ["/workspace/backend"] CMD ["/workspace/backend"]

View File

@ -1,5 +1,5 @@
FROM alpine:edge FROM alpine:edge
RUN apk add --no-cache curl build-base clang22-extra-tools sdl3-dev mosquitto RUN apk add --no-cache curl build-base clang22-extra-tools mosquitto-dev sdl3-dev
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 -- -y
ENV PATH="/root/.cargo/bin:${PATH}" ENV PATH="/root/.cargo/bin:${PATH}"