1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-03-17 20:17:48 +02:00

Fix Docker build again...

This commit is contained in:
DarthSim 2022-07-13 10:58:35 +06:00
parent 94b22a9679
commit 731218fc7b
2 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,7 @@ ARG BUILDPLATFORM
ARG TARGETPLATFORM
COPY . .
RUN docker/fix-go.sh
RUN go build -v -ldflags "-s -w" -o /usr/local/bin/imgproxy
RUN docker/build.sh
# ==================================================================================================
# Final image

View File

@ -48,3 +48,5 @@ if [[ $BUILDPLATFORM != $TARGETPLATFORM ]]; then
export GOOS=linux
export GOARCH=$TARGET_ARCH
fi
go build -v -ldflags "-s -w" -o /usr/local/bin/imgproxy