We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a1bbbf commit 198501eCopy full SHA for 198501e
Dockerfile
@@ -17,7 +17,7 @@ RUN go mod download
17
COPY . .
18
19
# Build the application
20
-RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o mysql-auto-db-proxy main.go
+RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH go build -a -installsuffix cgo -o mysql-auto-db-proxy main.go
21
22
# Final stage
23
FROM alpine:latest
0 commit comments