docker, ci: fix --version output

When building the docker image manually, MINEDMAP_VERSION needs to be
set explicitly to get a proper version string.
This commit is contained in:
Matthias Schiffer 2025-02-22 11:06:46 +01:00
parent 282f62fc30
commit 8cb1eee60b
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
3 changed files with 26 additions and 6 deletions

View file

@ -1,5 +1,7 @@
FROM docker.io/library/alpine:latest AS builder
ARG MINEDMAP_VERSION
WORKDIR /build
RUN apk add --no-cache build-base cmake cargo