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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ef3e6a40f0
commit
4b435d23bd
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue