Use --no-cache with apk to skip manual apk update (#689)
Save one step, also prevent additional local cache files need cleaning.
This commit is contained in:
parent
ecad34091e
commit
9d1e2f3795
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ FROM golang:${GOVERSION}-alpine AS build
|
|||
|
||||
WORKDIR /go/src/crowdsec
|
||||
|
||||
RUN apk update && apk add git jq gcc libc-dev make bash gettext
|
||||
RUN apk add --no-cache git jq gcc libc-dev make bash gettext
|
||||
|
||||
COPY . .
|
||||
|
||||
|
|
Loading…
Reference in a new issue