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:
parent
94b22a9679
commit
731218fc7b
@ -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
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user