Skip to content

Commit

Permalink
add node 12 dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
erikh360 committed May 6, 2020
1 parent 1923642 commit 6794a05
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions node_12.x.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM praekeltfoundation/vumi:0.6.18-pypy
MAINTAINER Praekelt Foundation <[email protected]>

# Install nodejs 12.x LTS release
RUN apt-get-install.sh apt-transport-https curl gnupg2 && \
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key \
| apt-key add - && \
echo "deb https://deb.nodesource.com/node_12.x jessie main" \
> /etc/apt/sources.list.d/nodesource.list && \
apt-get-purge.sh curl gnupg2

ENV NODEJS_VERSION "12.16.3"
RUN apt-get-install.sh nodejs=${NODEJS_VERSION}*



ENV VXSANDBOX_VERSION "0.6.2a3"
RUN apt-get-install.sh gcc && \
pip install vxsandbox==$VXSANDBOX_VERSION && \
apt-get-purge.sh gcc

ENV WORKER_CLASS "vxsandbox.worker.StandaloneJsFileSandbox"

0 comments on commit 6794a05

Please sign in to comment.