From 5f73afe24b1f20acededdf82d84904aa26135a8c Mon Sep 17 00:00:00 2001 From: clouless Date: Sun, 26 Apr 2020 16:01:14 +0200 Subject: [PATCH] nodejs 12 LTS --- Dockerfile | 12 ++++++++++-- README.md | 8 ++++---- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index bd60528..d3227b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN rm -rf /var/lib/apt/lists/* /var/cache/apt/* && \ # # NODEJS # -RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ +RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ apt-get update -qqy && apt-get -qqy install -y nodejs && \ rm -rf /var/lib/apt/lists/* /var/cache/apt/* @@ -27,7 +27,7 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \ chmod +x ./kubectl && \ mv ./kubectl /usr/local/bin/kubectl - + # # CHROME # @@ -66,6 +66,14 @@ RUN chmod u+rx,g+rx,o+rx,a-w /opt/docker-entrypoint-hook.sh && \ chown -R root:root /tmp/.X11-unix && \ chmod 1777 /tmp/.X11-unix +# +# PRINT VERSION OUTPUT +# +RUN echo "node version" && node -v && \ + echo "npm version" && npm -v && \ + echo "yarn version" && yarn -v && \ + echo "chrome version" && google-chrome --version + # # RUN # diff --git a/README.md b/README.md index 9c81f51..7d7d326 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ Kubernetes Docker image providing Jenkins Slave JNLP with Node.JS, xvfb and Goog | tool | version | |------|---------| -| yarn | 1.19.1 | -| node.js | 10.16.3 | -| npm | 6.9.0 | -| google-chrome-stable | 77.0.3865.120 | +| yarn | 1.22.4 | +| node.js | 12.16.2 | +| npm | 6.14.4 | +| google-chrome-stable | 81.0.4044.122 | | kubernetes cli | apt-get | | Xvfb | apt-get | | git | apt-get |