Skip to content

Commit

Permalink
Upgrade to the latest Node.js LTS 8.11.3
Browse files Browse the repository at this point in the history
and move downloaded package to /tmp so as to delete it at the end.

Install python-minimal which is required by NodeSource Node.js since
8.5.0, see nodesource/distributions#526
  • Loading branch information
yvanzo authored and jsturgis committed Jul 6, 2018
1 parent f736898 commit dac81c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This repo contains everything needed to run a musicbrainz slave server with sear
You will need a little over 50 gigs of free space to run this with replication.

### Versions
* Current MB Branch: [v-2018-01-24](musicbrainz-dockerfile/Dockerfile#L23)
* Current MB Branch: [v-2018-01-24](musicbrainz-dockerfile/Dockerfile#L24)
* Current DB_SCHEMA_SEQUENCE: [24](musicbrainz-dockerfile/DBDefs.pm#L107)
* Postgres Version: [9.5](postgres-dockerfile/Dockerfile#L1)

Expand Down
6 changes: 4 additions & 2 deletions musicbrainz-dockerfile/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ RUN apt-get update && \
libdb-dev \
libicu-dev \
liblocal-lib-perl \
python-minimal \
cpanminus

RUN git clone --recursive https://github.com/metabrainz/musicbrainz-server.git musicbrainz-server && \
cd musicbrainz-server && \
git checkout v-2018-01-24

RUN curl -sLO https://deb.nodesource.com/node_7.x/pool/main/n/nodejs/nodejs_7.9.0-1nodesource1~xenial1_amd64.deb && \
dpkg -i nodejs_7.9.0-1nodesource1~xenial1_amd64.deb
RUN cd tmp && \
curl -sLO https://deb.nodesource.com/node_8.x/pool/main/n/nodejs/nodejs_8.11.3-1nodesource1_amd64.deb && \
dpkg -i nodejs_8.11.3-1nodesource1_amd64.deb

RUN cd /musicbrainz-server/ && eval $( perl -Mlocal::lib) && cpanm --installdeps --notest .
RUN eval $( perl -Mlocal::lib) && cpanm --notest Plack::Middleware::Debug::Base \
Expand Down

0 comments on commit dac81c1

Please sign in to comment.