Merge pull request #378 from asarhaddon/test-macro-not-changing-function
[jackhill/mal.git] / ts / Dockerfile
index 1bb0452..f7677e9 100644 (file)
@@ -1,4 +1,4 @@
-FROM ubuntu:xenial
+FROM ubuntu:18.04
 MAINTAINER Joel Martin <github@martintribe.org>
 
 ##########################################################
@@ -21,8 +21,14 @@ WORKDIR /mal
 # Specific implementation requirements
 ##########################################################
 
-RUN apt-get -y install build-essential
-RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
+# For building node modules
+RUN apt-get -y install g++
+
+# Add nodesource apt repo config for 10.x stable
+RUN apt-get -y install gnupg
+RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
+
+# Install nodejs
 RUN apt-get -y install nodejs
 
 ENV NPM_CONFIG_CACHE /mal/.npm