Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (image): Do not specify arch for image

Rostislav Dugin332971a01489
diff --git a/Dockerfile b/Dockerfile
index 7cce6b3e..adb6a495 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,8 +32,7 @@ ARG TARGETARCH
# binary is compiled for the target architecture instead of downloading a
# prebuilt binary which may have the wrong architecture (causes exec format
# errors on ARM).
-RUN env GOBIN=/usr/local/bin GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:-amd64} \
- go install github.com/pressly/goose/v3/cmd/goose@latest
+RUN GOBIN=/usr/local/bin GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:-amd64} go install github.com/pressly/goose/v3/cmd/[email protected]
RUN go install github.com/swaggo/swag/cmd/[email protected]
# Set working directory
@@ -64,7 +63,7 @@ RUN CGO_ENABLED=0 \
# ========= RUNTIME =========
-FROM --platform=$TARGETPLATFORM debian:bookworm-slim
+FROM debian:bookworm-slim
# Add version metadata to runtime image
ARG APP_VERSION=dev