diff --git a/Dockerfile b/Dockerfile index 110ff06..d2f2bf2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,6 @@ RUN --mount=type=ssh go mod download COPY ${REPO_DIR} . # build -RUN --mount=type=ssh make deps -RUN --mount=type=ssh make build +RUN --mount=type=ssh make deps CGO_ENABLED=0 +RUN --mount=type=ssh make build CGO_ENABLED=0 RUN rsync -a bin/ /bin/ diff --git a/Makefile b/Makefile index 6edec93..77497cf 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,10 @@ pull: down: docker compose down +# build with "plain" log for debug +build: + docker compose build --no-cache --progress plain + restart: stop start update: stop pull start upgrade: stop clean start