Skip to content

Commit 784fe82

Browse files
authored
Create Dockerfile
1 parent c14f9ef commit 784fe82

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
FROM jenkins/jnlp-slave
2+
3+
USER root
4+
5+
# Install Node
6+
RUN apt-get install -y curl \
7+
&& curl -sL https://deb.nodesource.com/setup_12.x | bash - \
8+
&& apt-get install -y nodejs \
9+
&& curl -L https://www.npmjs.com/install.sh | sh
10+
11+
# Install Chrome Browser
12+
RUN \
13+
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
14+
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list
15+
16+
RUN apt-get update && apt-get install -y google-chrome-stable
17+
18+
# Install Clever Tools
19+
RUN \
20+
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "379CE192D401AB61" && \
21+
echo "deb https://dl.bintray.com/clevercloud/deb stable main" | tee -a /etc/apt/sources.list
22+
23+
RUN apt-get update && apt-get install -y clever-tools
24+
25+
USER jenkins

0 commit comments

Comments
 (0)