diff options
author | Peter Dave Hello <hsu@peterdavehello.org> | 2021-01-15 06:48:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 23:48:02 +0100 |
commit | 207cd24edb25cd15b0f3a2705302d056fdacc77a (patch) | |
tree | 78d7141fbfe8c7cbecca678d7d10a12499b75e40 | |
parent | b039da1ebad490fee85c9432f70521f0bee9942f (diff) | |
download | matterbridge-msglm-207cd24edb25cd15b0f3a2705302d056fdacc77a.tar.gz matterbridge-msglm-207cd24edb25cd15b0f3a2705302d056fdacc77a.tar.bz2 matterbridge-msglm-207cd24edb25cd15b0f3a2705302d056fdacc77a.zip |
Unify/sync apk index cache control in Dockerfile (#1352)
The second stage is using a single `apk` command with `--no-cache` which is better.
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \ |