Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
nodejs 12 LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
clouless committed Apr 26, 2020
1 parent 58a1e4a commit 5f73afe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 10 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand All @@ -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
#
Expand Down Expand Up @@ -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
#
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 5f73afe

Please sign in to comment.