"Fossies" - the Fresh Open Source Software Archive

Member "jenkins-jenkins-2.249.3/Dockerfile" (4 Nov 2020, 1147 Bytes) of package /linux/misc/jenkins-jenkins-2.249.3.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # This is a Dockerfile definition for Experimental Docker builds.
    2 # DockerHub: https://hub.docker.com/r/jenkins/jenkins-experimental/
    3 # If you are looking for official images, see https://github.com/jenkinsci/docker
    4 FROM maven:3.5.4-jdk-8 as builder
    5 
    6 COPY .mvn/ /jenkins/src/.mvn/
    7 COPY cli/ /jenkins/src/cli/
    8 COPY core/ /jenkins/src/core/
    9 COPY src/ /jenkins/src/src/
   10 COPY test/ /jenkins/src/test/
   11 COPY test-pom/ /jenkins/src/test-pom/
   12 COPY test-jdk8/ /jenkins/src/test-jdk8/
   13 COPY war/ /jenkins/src/war/
   14 COPY *.xml /jenkins/src/
   15 COPY LICENSE.txt /jenkins/src/LICENSE.txt
   16 COPY licenseCompleter.groovy /jenkins/src/licenseCompleter.groovy
   17 COPY show-pom-version.rb /jenkins/src/show-pom-version.rb
   18 
   19 WORKDIR /jenkins/src/
   20 RUN mvn clean install --batch-mode -Plight-test
   21 
   22 # The image is based on the previous weekly, new changes in jenkinci/docker are not applied
   23 FROM jenkins/jenkins:latest
   24 
   25 LABEL Description="This is an experimental image for the master branch of the Jenkins core" Vendor="Jenkins Project"
   26 
   27 COPY --from=builder /jenkins/src/war/target/jenkins.war /usr/share/jenkins/jenkins.war
   28 ENTRYPOINT ["tini", "--", "/usr/local/bin/jenkins.sh"]