forked from ms/transocks
This commit is contained in:
parent
237a7623e4
commit
9371733501
@ -4,7 +4,7 @@ FROM docker.io/golang:1.22 AS build
|
||||
WORKDIR /usr/src/transocks
|
||||
COPY . .
|
||||
|
||||
RUN go build -trimpath -o transocks ./cmd/transocks
|
||||
RUN CGO_ENABLED=0 go build -trimpath -o transocks ./cmd/transocks
|
||||
|
||||
# Now copy it into our base image.
|
||||
FROM gcr.io/distroless/static-debian12:nonroot
|
||||
|
Loading…
Reference in New Issue
Block a user