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 rm -rf screenies .github
|
||||||
|
|
||||||
RUN CGO_ENABLED=0 \
|
RUN CGO_ENABLED=0 \
|
||||||
GOOS=${TARGETOS:-linux} \
|
GOOS=${TARGETOS} \
|
||||||
GOARCH=${TARGETARCH:-amd64} \
|
GOARCH=${TARGETARCH} \
|
||||||
go build -trimpath \
|
go build -trimpath \
|
||||||
-buildmode=pie \
|
-buildmode=pie \
|
||||||
-ldflags="-s -w -buildid='' -extldflags '-static'" \
|
-ldflags="-s -w -buildid='' -extldflags '-static'" \
|
||||||
|
|||||||
Reference in New Issue
Block a user