aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBuckaroo Banzai <39065740+BuckarooBanzay@users.noreply.github.com>2021-09-07 15:29:57 +0200
committerGitHub <noreply@github.com>2021-09-07 15:29:57 +0200
commitbcb65654836caffa670a611ff7c79b0705a40c3c (patch)
treea5f5f43a87f03f70193baa1de00fdf27c6972540
parent7f3401412eedc2a54b161f892b29d0a109b3a07b (diff)
downloadminetest-bcb65654836caffa670a611ff7c79b0705a40c3c.tar.gz
minetest-bcb65654836caffa670a611ff7c79b0705a40c3c.tar.bz2
minetest-bcb65654836caffa670a611ff7c79b0705a40c3c.zip
Add missing zstd-libs to final Docker image
Also add `minetestserver --version` command to verify docker build in CI
-rw-r--r--.github/workflows/build.yml3
-rw-r--r--Dockerfile2
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 98b1ffe8a..417b4f650 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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)"
diff --git a/Dockerfile b/Dockerfile
index 481dab237..8d1008fa2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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