mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-02 07:05:42 +00:00
mastodon: update to 1.5.0
This commit is contained in:
@ -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 \
|
||||
|
Reference in New Issue
Block a user