-
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.
- Loading branch information
Showing
1 changed file
with
22 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,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" |