-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
40 lines (32 loc) · 1.82 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM theboegl/jenkins-javafx-xvfb
LABEL maintainer="[email protected]"
# Labels.
LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.name="theboegl/jenkins-javafx-xvfb"
LABEL org.label-schema.description="Official jenkins LTS version with JavaFX, xvfbm, libssl1.0.0, and libgfortran3"
LABEL org.label-schema.vcs-url="https://github.com/TheBoegl/jenkins-javafx-xvfb-libssl-libgfortran3"
# Switching from jenkins to root user...
USER root
# libquadmath0 for libgfortran3
RUN mkdir /var/lib/apt/lists/partial \
&& apt-get update && apt-get install -y --no-install-recommends \
libquadmath0 \
&& rm -rf /var/lib/apt/lists/*
#multiarch-support for libssl
RUN curl -LfsSo multiarch-support_2.28-10_amd64.deb http://http.us.debian.org/debian/pool/main/g/glibc/multiarch-support_2.28-10_amd64.deb \
&& dpkg -i multiarch-support_2.28-10_amd64.deb \
&& rm multiarch-support_2.28-10_amd64.deb
#libssl
RUN curl -LfsSo libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb \
&& dpkg -i libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb \
&& rm libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb
# gcc-6-base for libgfortran3
RUN curl -LfsSo gcc-6-base_6.3.0-18+deb9u1_amd64.deb http://http.us.debian.org/debian/pool/main/g/gcc-6/gcc-6-base_6.3.0-18+deb9u1_amd64.deb \
&& dpkg -i gcc-6-base_6.3.0-18+deb9u1_amd64.deb \
&& rm gcc-6-base_6.3.0-18+deb9u1_amd64.deb
# libgfortran3
RUN curl -LfsSo libgfortran3_6.3.0-18+deb9u1_amd64.deb http://http.us.debian.org/debian/pool/main/g/gcc-6/libgfortran3_6.3.0-18+deb9u1_amd64.deb \
&& dpkg -i libgfortran3_6.3.0-18+deb9u1_amd64.deb \
&& rm libgfortran3_6.3.0-18+deb9u1_amd64.deb
# Switching back from root to jenkins user for any further RUN/CMD/ENTRYPOINT...
USER jenkins