Skip to content

Commit

Permalink
Add missing zstd-libs to final Docker image
Browse files Browse the repository at this point in the history
Also add `minetestserver --version` command to verify docker build in CI
  • Loading branch information
BuckarooBanzay committed Sep 7, 2021
1 parent 7f34014 commit bcb6565
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -180,7 +180,8 @@ jobs:
- uses: actions/checkout@v2
- name: Build docker image
run: |
docker build .
docker build . -t minetest:latest
docker run --rm minetest:latest /usr/local/bin/minetestserver --version
win32:
name: "MinGW cross-compiler (32-bit)"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -57,7 +57,7 @@ RUN mkdir build && \
ARG DOCKER_IMAGE=alpine:3.14
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 && \
chown -R minetest:minetest /var/lib/minetest

Expand Down

0 comments on commit bcb6565

Please sign in to comment.