Fix node version issue in dev

This commit is contained in:
John Lees-Miller
2018-10-27 20:10:01 +01:00
parent 78d2cf62a3
commit 235076e844

View File

@ -1,6 +1,9 @@
FROM ruby:2.5.0 FROM ruby:2.5.0
# Note: must install newer nodejs to work around
# https://github.com/docker-library/ruby/issues/226
RUN apt-get update -qq &&\ RUN apt-get update -qq &&\
curl -sL https://deb.nodesource.com/setup_10.x | bash - &&\
apt-get install -y build-essential libpq-dev nodejs &&\ apt-get install -y build-essential libpq-dev nodejs &&\
useradd --user-group --create-home --shell /bin/false app useradd --user-group --create-home --shell /bin/false app