forked from Mirrorlandia_minetest/minetest
Add missing zstd-libs to final Docker image
Also add `minetestserver --version` command to verify docker build in CI
This commit is contained in:
parent
7f3401412e
commit
bcb6565483
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -180,7 +180,8 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build docker image
|
- name: Build docker image
|
||||||
run: |
|
run: |
|
||||||
docker build .
|
docker build . -t minetest:latest
|
||||||
|
docker run --rm minetest:latest /usr/local/bin/minetestserver --version
|
||||||
|
|
||||||
win32:
|
win32:
|
||||||
name: "MinGW cross-compiler (32-bit)"
|
name: "MinGW cross-compiler (32-bit)"
|
||||||
|
@ -57,7 +57,7 @@ RUN mkdir build && \
|
|||||||
ARG DOCKER_IMAGE=alpine:3.14
|
ARG DOCKER_IMAGE=alpine:3.14
|
||||||
FROM $DOCKER_IMAGE AS runtime
|
FROM $DOCKER_IMAGE AS runtime
|
||||||
|
|
||||||
RUN apk add --no-cache sqlite-libs curl gmp libstdc++ libgcc libpq luajit jsoncpp && \
|
RUN apk add --no-cache sqlite-libs curl gmp libstdc++ libgcc libpq luajit jsoncpp zstd-libs && \
|
||||||
adduser -D minetest --uid 30000 -h /var/lib/minetest && \
|
adduser -D minetest --uid 30000 -h /var/lib/minetest && \
|
||||||
chown -R minetest:minetest /var/lib/minetest
|
chown -R minetest:minetest /var/lib/minetest
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user