Upgrade node to v10 for test and dev
authorGerhard Schlager <mail@gerhard-schlager.at>
Tue, 15 Jan 2019 16:33:33 +0000 (17:33 +0100)
committerGerhard Schlager <mail@gerhard-schlager.at>
Tue, 15 Jan 2019 16:33:33 +0000 (17:33 +0100)
This fixes the following error during image build:

sane@4.0.2: The engine "node" is incompatible with this module. Expected version "6.* || 8.* || >= 10.*". Got "9.11.2"

image/discourse_dev/Dockerfile
image/discourse_test/Dockerfile

index c8b36231230ad4a984bf4826de44475a3296940f..28ee6fbd984096e43a0f6b27c440de4f74e74cca 100644 (file)
@@ -42,7 +42,7 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo ap
     echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list &&\
     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&\
     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&\
-    curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - &&\
+    curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - &&\
     apt-get update &&\
     apt-get install -y google-chrome-stable yarn nodejs &&\
     npm install -g eslint babel-eslint
index 20705397b4ea057864c266cf14e11255cfeccec6..08d0476126d2f6d03433c7adc2d66a6933bf2fde 100644 (file)
@@ -17,7 +17,7 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo ap
     echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list &&\
     curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&\
     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&\
-    curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - &&\
+    curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - &&\
     apt-get update &&\
     apt-get install -y libgconf-2-4 google-chrome-stable yarn nodejs &&\
     npm install -g eslint babel-eslint &&\