Permalink
Browse files

Do not use apk cache and upgrade (#9966)

  • Loading branch information...
J0WI authored and Gargron committed Feb 5, 2019
1 parent 11d1502 commit 26c1aba658d04617caf33783306b4504ca41f63c
Showing with 3 additions and 4 deletions.
  1. +3 −4 Dockerfile
@@ -24,8 +24,7 @@ COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules
COPY --from=node /usr/local/bin/npm /usr/local/bin/npm
COPY --from=node /opt/yarn-* /opt/yarn

RUN apk -U upgrade \
&& apk add -t build-dependencies \
RUN apk add --no-cache -t build-dependencies \
build-base \
icu-dev \
libidn-dev \
@@ -36,7 +35,7 @@ RUN apk -U upgrade \
postgresql-dev \
protobuf-dev \
python \
&& apk add \
&& apk add --no-cache \
ca-certificates \
ffmpeg \
file \
@@ -64,7 +63,7 @@ RUN apk -U upgrade \
&& make install \
&& libtool --finish /usr/local/lib \
&& cd /mastodon \
&& rm -rf /tmp/* /var/cache/apk/*
&& rm -rf /tmp/*

COPY Gemfile Gemfile.lock package.json yarn.lock .yarnclean /mastodon/

0 comments on commit 26c1aba

Please sign in to comment.