-FROM ubuntu:xenial
+FROM ubuntu:18.04
MAINTAINER Joel Martin <github@martintribe.org>
##########################################################
# 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