Skip to content

Commit 58142f7

Browse files
author
Aurelien Sudre
committed
init
1 parent c47ac48 commit 58142f7

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

Dockerfile

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
FROM openjdk:8-jdk
22

3-
RUN apt-get update && apt-get install -y git curl && rm -rf /var/lib/apt/lists/*
4-
3+
# JENKINS + DOTNET CORE INSTALL
4+
RUN apt-get update \
5+
&& apt-get install -y git curl \
6+
&& apt-get install -y libunwind8 gettext \
7+
&& rm -rf /var/lib/apt/lists/*
8+
9+
# DOTNET CORE INSTALL
10+
RUN curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?LinkID=835021
11+
RUN mkdir -p /opt/dotnet && tar zxf dotnet.tar.gz -C /opt/dotnet
12+
RUN ln -s /opt/dotnet/dotnet /usr/local/bin
13+
14+
# JENKINS INSTALL
515
ENV JENKINS_HOME /var/jenkins_home
616
ENV JENKINS_SLAVE_AGENT_PORT 50000
717

@@ -68,4 +78,4 @@ ENTRYPOINT ["/bin/tini", "--", "/usr/local/bin/jenkins.sh"]
6878

6979
# from a derived Dockerfile, can use `RUN plugins.sh active.txt` to setup /usr/share/jenkins/ref/plugins from a support bundle
7080
COPY plugins.sh /usr/local/bin/plugins.sh
71-
COPY install-plugins.sh /usr/local/bin/install-plugins.sh
81+
COPY install-plugins.sh /usr/local/bin/install-plugins.sh

0 commit comments

Comments
 (0)