mastodon: update to 1.5.0

This commit is contained in:
Wonderfall
2017-08-01 18:42:46 +02:00
parent 2e90deace1
commit 5820b191ea
21 changed files with 17 additions and 135 deletions

View File

@ -1,6 +1,6 @@
FROM alpine:3.6
ARG VERSION=v1.4.7
ARG VERSION=v1.5.0
ARG REPOSITORY=tootsuite/mastodon
ENV UID=991 GID=991 \
@ -19,7 +19,9 @@ RUN apk -U upgrade \
ffmpeg \
file \
git \
icu-libs \
imagemagick \
libidn \
libpq \
libressl \
libxml2 \
@ -36,7 +38,9 @@ RUN apk -U upgrade \
su-exec \
&& apk add -t build-dependencies \
build-base \
icu-dev \
libffi-dev \
libidn-dev \
libxml2-dev \
libxslt-dev \
postgresql-dev \
@ -51,7 +55,7 @@ RUN apk -U upgrade \
&& bundle install --deployment --clean --no-cache --without test development \
&& npm install -g npm@3 && npm install -g yarn \
&& yarn --ignore-optional --pure-lockfile \
&& SECRET_KEY_BASE=$(rake secret) rake assets:precompile \
&& SECRET_KEY_BASE=$(rake secret) SMTP_FROM_ADDRESS= rake assets:precompile \
&& npm -g cache clean && yarn cache clean \
&& mv public/assets /tmp/assets && mv public/packs /tmp/packs \
&& apk del build-dependencies \