Skip to content
Permalink
Browse files
Add missing zstd-libs to final Docker image
Also add `minetestserver --version` command to verify docker build in CI
  • Loading branch information
BuckarooBanzay committed Sep 7, 2021
1 parent 7f34014 commit bcb65654836caffa670a611ff7c79b0705a40c3c
Showing with 3 additions and 2 deletions.
  1. +2 −1 .github/workflows/build.yml
  2. +1 −1 Dockerfile
@@ -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)"
@@ -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

0 comments on commit bcb6565

Please sign in to comment.