summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Dave Hello <hsu@peterdavehello.org>2021-01-15 06:48:02 +0800
committerGitHub <noreply@github.com>2021-01-14 23:48:02 +0100
commit207cd24edb25cd15b0f3a2705302d056fdacc77a (patch)
tree78d7141fbfe8c7cbecca678d7d10a12499b75e40
parentb039da1ebad490fee85c9432f70521f0bee9942f (diff)
downloadmatterbridge-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--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index ba83fde7..3b53c752 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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 \