From 7641b3272fabd1112d30b5b1c07c32f6f9e51050 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Sun, 28 Aug 2016 16:53:25 -0600 Subject: Break neovim into separate images. Makes it quicker to compile new changes --- Dockerfile.javascript | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile.javascript (limited to 'Dockerfile.javascript') diff --git a/Dockerfile.javascript b/Dockerfile.javascript new file mode 100644 index 0000000..592f58a --- /dev/null +++ b/Dockerfile.javascript @@ -0,0 +1,15 @@ +FROM thornycrackers/neovim:php +MAINTAINER Cody Hiar + +# Install nodejs 6 +RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - +RUN apt-get install -y \ + nodejs + +# Install JS linting modules +# The reason for the version specifications is an 'Unmet peerDependancy error' +# https://github.com/airbnb/javascript/issues/952 +RUN npm install -g eslint@\^2.10.2 eslint-config-airbnb eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y@\^1.2.2 + +# Install the eslintrc.json +ADD eslintrc.json /root/.eslintrc.json -- cgit v1.2.3