mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-09 11:42:48 +02:00
Fix Docker build again...
This commit is contained in:
@@ -6,8 +6,7 @@ ARG BUILDPLATFORM
|
|||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN docker/fix-go.sh
|
RUN docker/build.sh
|
||||||
RUN go build -v -ldflags "-s -w" -o /usr/local/bin/imgproxy
|
|
||||||
|
|
||||||
# ==================================================================================================
|
# ==================================================================================================
|
||||||
# Final image
|
# Final image
|
||||||
|
@@ -48,3 +48,5 @@ if [[ $BUILDPLATFORM != $TARGETPLATFORM ]]; then
|
|||||||
export GOOS=linux
|
export GOOS=linux
|
||||||
export GOARCH=$TARGET_ARCH
|
export GOARCH=$TARGET_ARCH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
go build -v -ldflags "-s -w" -o /usr/local/bin/imgproxy
|
Reference in New Issue
Block a user