Skip to content

Commit

Permalink
Use apk --no-cache to prevent caching
Browse files Browse the repository at this point in the history
  • Loading branch information
ketan authored Jun 29, 2017
1 parent 85b0c76 commit 7928995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7928995

Please sign in to comment.