Browse Source

Update node.js and imagemagick (#1951)

* update Dockerfile: latest nodejs LTS

* also update imagemagick
closed-social-glitch-2
Wonderfall 7 years ago
committed by Eugen
parent
commit
0cbcc5e297
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      Dockerfile

+ 5
- 3
Dockerfile View File

@ -12,20 +12,22 @@ WORKDIR /mastodon
COPY Gemfile Gemfile.lock package.json yarn.lock /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 \ postgresql-dev \
libxml2-dev \ libxml2-dev \
libxslt-dev \ libxslt-dev \
build-base" \ build-base" \
&& apk -U upgrade && apk add \ && apk -U upgrade && apk add \
$BUILD_DEPS \ $BUILD_DEPS \
nodejs \
nodejs@edge \
nodejs-npm@edge \
libpq \ libpq \
libxml2 \ libxml2 \
libxslt \ libxslt \
ffmpeg \ ffmpeg \
file \ file \
imagemagick \
imagemagick@edge \
&& npm install -g npm@3 && npm install -g yarn \ && npm install -g npm@3 && npm install -g yarn \
&& bundle install --deployment --without test development \ && bundle install --deployment --without test development \
&& yarn --ignore-optional \ && yarn --ignore-optional \

Loading…
Cancel
Save