From 4b435d23bd29e34d9cc55da6692250b2551eba26 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Fri, 25 Mar 2022 20:50:05 +0100 Subject: [PATCH] I will now present quotes from Aldo Giovanni and Giacomo until this docker issue is resolved --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index eccd771..2d944ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,6 @@ FROM golang:${GO_VERSION}-alpine AS build RUN apk add --no-cache git RUN apk --no-cache add ca-certificates -# add a user here because addgroup and adduser are not available in scratch -RUN addgroup -S myapp \ - && adduser -S -u 10000 -g myapp myapp - WORKDIR /src COPY ./go.mod ./go.sum ./ RUN go mod download