-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nodejs LTS 4.x Dockerfile for testing
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM praekeltfoundation/vumi | ||
MAINTAINER Praekelt Foundation <dev@praekeltfoundation.org> | ||
|
||
# Install nodejs 4.x LTS release | ||
RUN apt-get-install.sh apt-transport-https curl && \ | ||
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key \ | ||
| apt-key add - && \ | ||
echo "deb https://deb.nodesource.com/node_4.x jessie main" \ | ||
> /etc/apt/sources.list.d/nodesource.list && \ | ||
apt-get-purge.sh curl | ||
ENV NODEJS_VERSION "4.3.1" | ||
RUN apt-get-install.sh nodejs=${NODEJS_VERSION}* | ||
|
||
ENV VXSANDBOX_VERSION "0.6.0" | ||
RUN pip install vxsandbox==$VXSANDBOX_VERSION |