UPD: added git
This commit is contained in:
parent
ee7e2160f0
commit
bcc294dff8
@ -1,13 +1,13 @@
|
||||
FROM centos:8
|
||||
LABEL description="Jenkins"
|
||||
LABEL description="Jenkins on Tomcat"
|
||||
LABEL maintainer="racken@one27.cf"
|
||||
LABEL notes="Get initial admin password by docker exec -it <container-id> and cat /root/.jenkins/secrets/initialAdminPassword"
|
||||
LABEL java-version="openjdk11"
|
||||
LABEL java-version="java-11-openjdk"
|
||||
LABEL jenkins-version="2.222.3"
|
||||
LABEL exposed-port="8080"
|
||||
LABEL jenkins-path="/jenkins"
|
||||
ENV container docker
|
||||
RUN yum -y install java-11-openjdk-headless wget dejavu-fonts-common dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts java-11-openjdk-devel; mkdir -p /opt/tomcat
|
||||
RUN yum -y install java-11-openjdk-headless wget dejavu-fonts-common dejavu-sans-fonts dejavu-serif-fonts dejavu-sans-mono-fonts java-11-openjdk-devel git; mkdir -p /opt/tomcat
|
||||
WORKDIR /opt/tomcat
|
||||
RUN wget -q -O- http://ftp.cuhk.edu.hk/pub/packages/apache.org/tomcat/tomcat-9/v9.0.34/bin/apache-tomcat-9.0.34.tar.gz | tar zxf - --strip-components=1
|
||||
RUN rm -rf /opt/tomcat/webapps/ROOT
|
||||
|
Loading…
Reference in New Issue
Block a user