From 792899553210ec006131e562c3ba94f3d53da6d6 Mon Sep 17 00:00:00 2001 From: Ketan Padegaonkar Date: Thu, 29 Jun 2017 20:12:40 +0530 Subject: [PATCH] Use `apk --no-cache` to prevent caching --- Dockerfile.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.erb b/Dockerfile.erb index 3c86535..708f027 100644 --- a/Dockerfile.erb +++ b/Dockerfile.erb @@ -37,8 +37,8 @@ RUN \ addgroup -g 1000 go && \ adduser -D -u 1000 -G go go && \ # install dependencies and other helpful CLI tools - apk --update-cache upgrade && \ - apk add --update-cache openjdk8-jre-base git mercurial subversion tini openssh-client bash su-exec curl && \ + apk --no-cache upgrade && \ + apk add --no-cache openjdk8-jre-base git mercurial subversion tini openssh-client bash su-exec curl && \ # download the zip file curl --fail --location --silent "<%= download_url %>" > /tmp/go-server.zip && \ # unzip the zip file into /go-server, after stripping the first path prefix