Unify/sync apk index cache control in Dockerfile (#1352)

The second stage is using a single `apk` command with `--no-cache` which is better.
pull/1361/head
Peter Dave Hello 3 years ago committed by GitHub
parent b039da1eba
commit 207cd24edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,7 @@
FROM alpine AS builder
COPY . /go/src/github.com/42wim/matterbridge
RUN apk update && apk add go git gcc musl-dev \
RUN apk --no-cache add go git gcc musl-dev \
&& cd /go/src/github.com/42wim/matterbridge \
&& export GOPATH=/go \
&& go get \

Loading…
Cancel
Save