mirror of
https://github.com/Merith-TK/simpleproxy.git
synced 2025-07-29 22:07:45 +01:00
fix buildfile hardcoded arch
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 1m0s
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 1m0s
This commit is contained in:
parent
99b1fad6b9
commit
f73095ed36
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ RUN go mod download
|
|||
COPY ./cmd/simpleproxy ./cmd/simpleproxy
|
||||
|
||||
# Build the binary with optimizations
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o /app/simpleproxy ./cmd/simpleproxy
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /app/simpleproxy ./cmd/simpleproxy
|
||||
|
||||
# Final Minimal Image
|
||||
FROM alpine:latest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue