From bcb65654836caffa670a611ff7c79b0705a40c3c Mon Sep 17 00:00:00 2001 From: Buckaroo Banzai <39065740+BuckarooBanzay@users.noreply.github.com> Date: Tue, 7 Sep 2021 15:29:57 +0200 Subject: Add missing zstd-libs to final Docker image Also add `minetestserver --version` command to verify docker build in CI --- .github/workflows/build.yml | 3 ++- Dockerfile | 2 +- 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 -- cgit v1.2.3