Added Dockerfile.ruby-2.3-git-2.7-phantomjs-2.1-node-7.1

Added `install-node` to install node:7.1
This commit is contained in:
Luke Bennett 2016-11-19 00:19:46 +00:00 committed by Luke Bennett
parent 0139406e7e
commit 45998ee199
No known key found for this signature in database
GPG key ID: A738E9C68D3BF31A
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,11 @@
FROM ruby:2.3
ADD / /
RUN /scripts/install-essentials
RUN /scripts/install-phantomjs 2.1.1
RUN /scripts/install-node
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

6
scripts/install-node Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
set -xeo pipefail
curl --silent --location https://deb.nodesource.com/setup_7.x | bash -
apt-get install -y nodejs