mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
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:
parent
0139406e7e
commit
45998ee199
2 changed files with 17 additions and 0 deletions
11
Dockerfile.ruby-2.3-git-2.7-phantomjs-2.1-node-7.1
Normal file
11
Dockerfile.ruby-2.3-git-2.7-phantomjs-2.1-node-7.1
Normal 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
6
scripts/install-node
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue