jenkins-mercurial (lts)

Published 2024-12-03 03:30:33 +00:00 by spacenerdmo in spacenerdmo/jenkins-mercurial

Installation

docker pull git.dreamfall.space/spacenerdmo/jenkins-mercurial:lts
sha256:8c9ded50d4a7de190a65137215ca2b05f2e4b29b1cfbdeb832e58492512f02a3

About this package

The Jenkins Continuous Integration and Delivery server

Image Layers

ADD rootfs.tar.xz / # buildkit
CMD ["bash"]
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git gnupg gpg libfontconfig1 libfreetype6 procps ssh-client tini unzip tzdata && rm -rf /var/lib/apt/lists/* # buildkit
ARG GIT_LFS_VERSION=3.6.0
RUN |1 GIT_LFS_VERSION=3.6.0 /bin/sh -c arch=$(uname -m | sed -e 's/x86_64/amd64/g' -e 's/aarch64/arm64/g') && curl -L -s -o git-lfs.tgz "https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION}/git-lfs-linux-${arch}-v${GIT_LFS_VERSION}.tar.gz" && tar xzf git-lfs.tgz && bash git-lfs-*/install.sh && rm -rf git-lfs* # buildkit
ENV LANG=C.UTF-8
ARG TARGETARCH=amd64
ARG COMMIT_SHA=c45202b6097dda7f321eebbb8ffc09143ffb26fa
ARG user=jenkins
ARG group=jenkins
ARG uid=1000
ARG gid=1000
ARG http_port=8080
ARG agent_port=50000
ARG JENKINS_HOME=/var/jenkins_home
ARG REF=/usr/share/jenkins/ref
ENV JENKINS_HOME=/var/jenkins_home
ENV JENKINS_SLAVE_AGENT_PORT=50000
ENV REF=/usr/share/jenkins/ref
RUN |11 GIT_LFS_VERSION=3.6.0 TARGETARCH=amd64 COMMIT_SHA=c45202b6097dda7f321eebbb8ffc09143ffb26fa user=jenkins group=jenkins uid=1000 gid=1000 http_port=8080 agent_port=50000 JENKINS_HOME=/var/jenkins_home REF=/usr/share/jenkins/ref /bin/sh -c mkdir -p $JENKINS_HOME && chown ${uid}:${gid} $JENKINS_HOME && groupadd -g ${gid} ${group} && useradd -d "$JENKINS_HOME" -u ${uid} -g ${gid} -l -m -s /bin/bash ${user} # buildkit
VOLUME [/var/jenkins_home]
RUN |11 GIT_LFS_VERSION=3.6.0 TARGETARCH=amd64 COMMIT_SHA=c45202b6097dda7f321eebbb8ffc09143ffb26fa user=jenkins group=jenkins uid=1000 gid=1000 http_port=8080 agent_port=50000 JENKINS_HOME=/var/jenkins_home REF=/usr/share/jenkins/ref /bin/sh -c mkdir -p ${REF}/init.groovy.d # buildkit
ARG JENKINS_VERSION=2.479.2
ENV JENKINS_VERSION=2.479.2
ARG JENKINS_SHA=177c2c033f0d3ae4148e601d0fdada60112d83f250521f3a0a0fd97cbb138dbd
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/2.479.2/jenkins-war-2.479.2.war
RUN |14 GIT_LFS_VERSION=3.6.0 TARGETARCH=amd64 COMMIT_SHA=c45202b6097dda7f321eebbb8ffc09143ffb26fa user=jenkins group=jenkins uid=1000 gid=1000 http_port=8080 agent_port=50000 JENKINS_HOME=/var/jenkins_home REF=/usr/share/jenkins/ref JENKINS_VERSION=2.479.2 JENKINS_SHA=177c2c033f0d3ae4148e601d0fdada60112d83f250521f3a0a0fd97cbb138dbd JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/2.479.2/jenkins-war-2.479.2.war /bin/sh -c curl -fsSL ${JENKINS_URL} -o /usr/share/jenkins/jenkins.war && echo "${JENKINS_SHA} /usr/share/jenkins/jenkins.war" >/tmp/jenkins_sha && sha256sum -c --strict /tmp/jenkins_sha && rm -f /tmp/jenkins_sha # buildkit
ENV JENKINS_UC=https://updates.jenkins.io
ENV JENKINS_UC_EXPERIMENTAL=https://updates.jenkins.io/experimental
ENV JENKINS_INCREMENTALS_REPO_MIRROR=https://repo.jenkins-ci.org/incrementals
RUN |14 GIT_LFS_VERSION=3.6.0 TARGETARCH=amd64 COMMIT_SHA=c45202b6097dda7f321eebbb8ffc09143ffb26fa user=jenkins group=jenkins uid=1000 gid=1000 http_port=8080 agent_port=50000 JENKINS_HOME=/var/jenkins_home REF=/usr/share/jenkins/ref JENKINS_VERSION=2.479.2 JENKINS_SHA=177c2c033f0d3ae4148e601d0fdada60112d83f250521f3a0a0fd97cbb138dbd JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/2.479.2/jenkins-war-2.479.2.war /bin/sh -c chown -R ${user} "$JENKINS_HOME" "$REF" # buildkit
ARG PLUGIN_CLI_VERSION=2.13.2
ARG PLUGIN_CLI_URL=https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.13.2/jenkins-plugin-manager-2.13.2.jar
RUN |16 GIT_LFS_VERSION=3.6.0 TARGETARCH=amd64 COMMIT_SHA=c45202b6097dda7f321eebbb8ffc09143ffb26fa user=jenkins group=jenkins uid=1000 gid=1000 http_port=8080 agent_port=50000 JENKINS_HOME=/var/jenkins_home REF=/usr/share/jenkins/ref JENKINS_VERSION=2.479.2 JENKINS_SHA=177c2c033f0d3ae4148e601d0fdada60112d83f250521f3a0a0fd97cbb138dbd JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/2.479.2/jenkins-war-2.479.2.war PLUGIN_CLI_VERSION=2.13.2 PLUGIN_CLI_URL=https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.13.2/jenkins-plugin-manager-2.13.2.jar /bin/sh -c curl -fsSL ${PLUGIN_CLI_URL} -o /opt/jenkins-plugin-manager.jar && echo "$(curl -fsSL "${PLUGIN_CLI_URL}.sha256") /opt/jenkins-plugin-manager.jar" >/tmp/jenkins_sha && sha256sum -c --strict /tmp/jenkins_sha && rm -f /tmp/jenkins_sha # buildkit
EXPOSE map[8080/tcp:{}]
EXPOSE map[50000/tcp:{}]
ENV COPY_REFERENCE_FILE_LOG=/var/jenkins_home/copy_reference_file.log
ENV JAVA_HOME=/opt/java/openjdk
ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY /javaruntime /opt/java/openjdk # buildkit
USER jenkins
COPY jenkins-support /usr/local/bin/jenkins-support # buildkit
COPY jenkins.sh /usr/local/bin/jenkins.sh # buildkit
COPY jenkins-plugin-cli.sh /bin/jenkins-plugin-cli # buildkit
ENTRYPOINT ["/usr/bin/tini" "--" "/usr/local/bin/jenkins.sh"]
LABEL org.opencontainers.image.vendor=Jenkins project org.opencontainers.image.title=Official Jenkins Docker image org.opencontainers.image.description=The Jenkins Continuous Integration and Delivery server org.opencontainers.image.version=2.479.2 org.opencontainers.image.url=https://www.jenkins.io/ org.opencontainers.image.source=https://github.com/jenkinsci/docker org.opencontainers.image.revision=c45202b6097dda7f321eebbb8ffc09143ffb26fa org.opencontainers.image.licenses=MIT
USER root
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends mercurial
USER jenkins

Labels

Key Value
org.opencontainers.image.description The Jenkins Continuous Integration and Delivery server
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision c45202b6097dda7f321eebbb8ffc09143ffb26fa
org.opencontainers.image.source https://github.com/jenkinsci/docker
org.opencontainers.image.title Official Jenkins Docker image
org.opencontainers.image.url https://www.jenkins.io/
org.opencontainers.image.vendor Jenkins project
org.opencontainers.image.version 2.479.2
Details
Container
2024-12-03 03:30:33 +00:00
17
OCI / Docker
linux/amd64
MIT
303 MiB
Versions (2) View all
lts 2024-12-03
latest 2023-11-19