mirror of
https://codeberg.org/gigirassy/pinata
synced 2026-08-30 23:37:40 +00:00
Update Dockerfile
This commit is contained in:
+2
-2
@@ -12,8 +12,8 @@ COPY . .
|
||||
RUN rm -rf screenies .github
|
||||
|
||||
RUN CGO_ENABLED=0 \
|
||||
GOOS=${TARGETOS:-linux} \
|
||||
GOARCH=${TARGETARCH:-amd64} \
|
||||
GOOS=${TARGETOS} \
|
||||
GOARCH=${TARGETARCH} \
|
||||
go build -trimpath \
|
||||
-buildmode=pie \
|
||||
-ldflags="-s -w -buildid='' -extldflags '-static'" \
|
||||
|
||||
Reference in New Issue
Block a user