fix: hand over version to docker build

This commit is contained in:
Michael Barz
2025-07-10 17:46:57 +02:00
parent db5ac0a4e2
commit cbafb09374

View File

@@ -9,7 +9,7 @@ RUN apk add bash make git curl gcc musl-dev libc-dev binutils-gold inotify-tools
COPY ../ /opencloud/
WORKDIR /opencloud
RUN GOOS="${TARGETOS:-linux}" GOARCH="${TARGETARCH:-amd64}" ; \
RUN GOOS="${TARGETOS:-linux}" GOARCH="${TARGETARCH:-amd64}" VERSION="${VERSION:-daily}" ; \
make -C opencloud release-linux-docker-${TARGETARCH} ENABLE_VIPS=true
FROM alpine:3.20