Skip to content

Commit

Permalink
Remove cmdtest if installed before installing yarn
Browse files Browse the repository at this point in the history
since both packages conflict,
see yarnpkg/yarn#2821

Note: Since Ubuntu 17.04, cmdtest is installed by default.
  • Loading branch information
yvanzo committed Jul 3, 2018
1 parent c6eea05 commit c8c9c04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions musicbrainz-dockerfile/Dockerfile
Expand Up @@ -31,6 +31,7 @@ RUN cd musicbrainz-server && \
apt-get update -o Dir::Etc::sourcelist="sources.list.d/yarn.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" && \
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 && \
apt remove -y cmdtest && \
apt-get install -y yarn

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

0 comments on commit c8c9c04

Please sign in to comment.