Skip to content

Commit

Permalink
Update node.js and imagemagick (mastodon#1951)
Browse files Browse the repository at this point in the history
* update Dockerfile: latest nodejs LTS

* also update imagemagick
  • Loading branch information
Wonderfall authored and Gargron committed Apr 16, 2017
1 parent f87b51f commit 0cbcc5e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,22 @@ WORKDIR /mastodon

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

RUN BUILD_DEPS=" \
RUN echo "@edge https://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
&& BUILD_DEPS=" \
postgresql-dev \
libxml2-dev \
libxslt-dev \
build-base" \
&& apk -U upgrade && apk add \
$BUILD_DEPS \
nodejs \
nodejs@edge \
nodejs-npm@edge \
libpq \
libxml2 \
libxslt \
ffmpeg \
file \
imagemagick \
imagemagick@edge \
&& npm install -g npm@3 && npm install -g yarn \
&& bundle install --deployment --without test development \
&& yarn --ignore-optional \
Expand Down

0 comments on commit 0cbcc5e

Please sign in to comment.