From 64a1a6beb40f53cc15ac987bd92c7a18c16b51c0 Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Mon, 29 Mar 2021 08:33:40 +0200 Subject: [PATCH] Specify output filename and set executable permissions Signed-off-by: Felix Bartels --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 696edca..155ecdd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,8 @@ RUN go mod download COPY . . RUN rice embed-go -RUN CGO_ENABLED=0 go build - +RUN CGO_ENABLED=0 go build -o boringproxy +RUN chmod +x boringproxy FROM scratch EXPOSE 80 443