From 73d42c5857b4135c653cc35ac7ade2b08446b9bb Mon Sep 17 00:00:00 2001 From: eternal-flame-AD Date: Mon, 4 Aug 2025 16:07:31 -0500 Subject: [PATCH] allow building on non docker environment Signed-off-by: eternal-flame-AD --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d3753f6..2aec9c9 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ ifdef GOTOOLCHAIN else GO_VERSION=$(shell go mod edit -json | jq -r .Toolchain | sed -e 's/go//') endif -DOCKER_BUILD_IMAGE=gotify/build +DOCKER_BUILD_IMAGE=docker.io/gotify/build DOCKER_WORKDIR=/proj DOCKER_RUN=docker run --rm -e LD_FLAGS="$$LD_FLAGS" -v "$$PWD/.:${DOCKER_WORKDIR}" -v "`go env GOPATH`/pkg/mod/.:/go/pkg/mod:ro" -w ${DOCKER_WORKDIR} DOCKER_GO_BUILD=go build -mod=readonly -a -installsuffix cgo -ldflags "$$LD_FLAGS"