I will now present quotes from Aldo Giovanni and Giacomo until this docker issue is resolved
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Hamcha 2022-03-25 20:50:05 +01:00
parent ef3e6a40f0
commit 4b435d23bd
Signed by: hamcha
GPG key ID: 1669C533B8CF6D89

View file

@ -5,10 +5,6 @@ FROM golang:${GO_VERSION}-alpine AS build
RUN apk add --no-cache git RUN apk add --no-cache git
RUN apk --no-cache add ca-certificates 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 WORKDIR /src
COPY ./go.mod ./go.sum ./ COPY ./go.mod ./go.sum ./
RUN go mod download RUN go mod download