From 9371733501cc0cc5d9c479930c6e5f05c7ebbd40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=91=D0=B0?= =?UTF-8?q?=D0=B4=D1=8F=D0=B5=D0=B2?= Date: Thu, 31 Oct 2024 13:23:59 +0700 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e930fd8..a9a7894 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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