NEW: jenkins
This commit is contained in:
parent
ea55d90aa7
commit
d3a3a4390a
13
dockerfiles/alpine-jenkins.txt
Normal file
13
dockerfiles/alpine-jenkins.txt
Normal file
@ -0,0 +1,13 @@
|
||||
FROM alpine:latest
|
||||
LABEL description="Jenkins"
|
||||
LABEL maintainer="racken@one27.cf"
|
||||
ENV container docker
|
||||
RUN apk add openjdk11 wget openjdk11-jre-headless ttf-dejavu; mkdir /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
|
||||
RUN wget -q -O /opt/tomcat/webapps/ROOT.war http://mirrors.jenkins.io/war-stable/latest/jenkins.war
|
||||
ENV JAVA_HOME="/usr"
|
||||
ENV JAVA_OPTS="-Djava.awt.headless=true"
|
||||
EXPOSE 8080
|
||||
CMD ["/opt/tomcat/bin/catalina.sh", "run"]
|
Loading…
Reference in New Issue
Block a user