jenkins-dotnet (2022-04-27)

Published 2023-03-28 18:22:01 +00:00 by vektron

Installation

docker pull vektron.dev/vektron/jenkins-dotnet:2022-04-27
sha256:4214737038c82c3604f7b863c841cf26444d5236b6475ae00375dfa988cd8397

About this package

The Jenkins Continuous Integration and Delivery server

Image Layers

ADD file:3a81c181c66f226bd6abd48d0c7ed8a9c599c9f521ec7229286c83161afec8c2 in /
CMD ["bash"]
RUN /bin/sh -c apt-get update && apt-get install -y git curl gpg unzip libfreetype6 libfontconfig1 && rm -rf /var/lib/apt/lists/* # buildkit
ENV LANG=C.UTF-8
ARG TARGETARCH
ARG COMMIT_SHA
ARG GIT_LFS_VERSION=3.1.4
COPY git_lfs_pub.gpg /tmp/git_lfs_pub.gpg # buildkit
RUN |3 TARGETARCH=amd64 COMMIT_SHA=f25d242bb723d6e15538723231cec826efa7a108 GIT_LFS_VERSION=3.1.4 /bin/sh -c GIT_LFS_ARCHIVE="git-lfs-linux-${TARGETARCH}-v${GIT_LFS_VERSION}.tar.gz" GIT_LFS_RELEASE_URL="https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION}/${GIT_LFS_ARCHIVE}" set -x; curl --fail --silent --location --show-error --output "/tmp/${GIT_LFS_ARCHIVE}" "${GIT_LFS_RELEASE_URL}" && curl --fail --silent --location --show-error --output "/tmp/git-lfs-sha256sums.asc" https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION}/sha256sums.asc && gpg --no-tty --import /tmp/git_lfs_pub.gpg && gpg -d /tmp/git-lfs-sha256sums.asc | grep "${GIT_LFS_ARCHIVE}" | (cd /tmp; sha256sum -c ) && mkdir -p /tmp/git-lfs && tar xzvf "/tmp/${GIT_LFS_ARCHIVE}" -C /tmp/git-lfs && bash -x /tmp/git-lfs/install.sh && rm -rf /tmp/git-lfs* # buildkit
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 TARGETARCH=amd64 COMMIT_SHA=f25d242bb723d6e15538723231cec826efa7a108 GIT_LFS_VERSION=3.1.4 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} -m -s /bin/bash ${user} # buildkit
VOLUME [/var/jenkins_home]
RUN |11 TARGETARCH=amd64 COMMIT_SHA=f25d242bb723d6e15538723231cec826efa7a108 GIT_LFS_VERSION=3.1.4 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 TINI_VERSION=v0.19.0
COPY tini_pub.gpg /var/jenkins_home/tini_pub.gpg # buildkit
RUN |12 TARGETARCH=amd64 COMMIT_SHA=f25d242bb723d6e15538723231cec826efa7a108 GIT_LFS_VERSION=3.1.4 user=jenkins group=jenkins uid=1000 gid=1000 http_port=8080 agent_port=50000 JENKINS_HOME=/var/jenkins_home REF=/usr/share/jenkins/ref TINI_VERSION=v0.19.0 /bin/sh -c curl -fsSL "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-${TARGETARCH}" -o /sbin/tini && curl -fsSL "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-${TARGETARCH}.asc" -o /sbin/tini.asc && gpg --no-tty --import "${JENKINS_HOME}/tini_pub.gpg" && gpg --verify /sbin/tini.asc && rm -rf /sbin/tini.asc /root/.gnupg && chmod +x /sbin/tini # buildkit
ARG JENKINS_VERSION
ENV JENKINS_VERSION=2.345
ARG JENKINS_SHA=4dfe49cd7422ec4317a7c7a7c083f40fa475a58a7747bd94187b2cf222006ac0
ARG JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/2.345/jenkins-war-2.345.war
RUN |15 TARGETARCH=amd64 COMMIT_SHA=f25d242bb723d6e15538723231cec826efa7a108 GIT_LFS_VERSION=3.1.4 user=jenkins group=jenkins uid=1000 gid=1000 http_port=8080 agent_port=50000 JENKINS_HOME=/var/jenkins_home REF=/usr/share/jenkins/ref TINI_VERSION=v0.19.0 JENKINS_VERSION=2.345 JENKINS_SHA=e06a4289afe2877d024e49bf72b53494b912eb2c4f931e00254b5b1dd9fee447 JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/2.345/jenkins-war-2.345.war /bin/sh -c curl -fsSL ${JENKINS_URL} -o /usr/share/jenkins/jenkins.war && echo "${JENKINS_SHA} /usr/share/jenkins/jenkins.war" | sha256sum -c - # 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 |15 TARGETARCH=amd64 COMMIT_SHA=f25d242bb723d6e15538723231cec826efa7a108 GIT_LFS_VERSION=3.1.4 user=jenkins group=jenkins uid=1000 gid=1000 http_port=8080 agent_port=50000 JENKINS_HOME=/var/jenkins_home REF=/usr/share/jenkins/ref TINI_VERSION=v0.19.0 JENKINS_VERSION=2.345 JENKINS_SHA=e06a4289afe2877d024e49bf72b53494b912eb2c4f931e00254b5b1dd9fee447 JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/2.345/jenkins-war-2.345.war /bin/sh -c chown -R ${user} "$JENKINS_HOME" "$REF" # buildkit
ARG PLUGIN_CLI_VERSION=2.9.3
ARG PLUGIN_CLI_URL=https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.12.3/jenkins-plugin-manager-2.12.3.jar
RUN |17 TARGETARCH=amd64 COMMIT_SHA=f25d242bb723d6e15538723231cec826efa7a108 GIT_LFS_VERSION=3.1.4 user=jenkins group=jenkins uid=1000 gid=1000 http_port=8080 agent_port=50000 JENKINS_HOME=/var/jenkins_home REF=/usr/share/jenkins/ref TINI_VERSION=v0.19.0 JENKINS_VERSION=2.345 JENKINS_SHA=e06a4289afe2877d024e49bf72b53494b912eb2c4f931e00254b5b1dd9fee447 JENKINS_URL=https://repo.jenkins-ci.org/public/org/jenkins-ci/main/jenkins-war/2.345/jenkins-war-2.345.war PLUGIN_CLI_VERSION=2.12.3 PLUGIN_CLI_URL=https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.12.3/jenkins-plugin-manager-2.12.3.jar /bin/sh -c curl -fsSL ${PLUGIN_CLI_URL} -o /opt/jenkins-plugin-manager.jar # 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 tini-shim.sh /bin/tini # buildkit
COPY jenkins-plugin-cli.sh /bin/jenkins-plugin-cli # buildkit
ENTRYPOINT ["/sbin/tini" "--" "/usr/local/bin/jenkins.sh"]
COPY install-plugins.sh /usr/local/bin/install-plugins.sh # buildkit
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.345 org.opencontainers.image.url=https://www.jenkins.io/ org.opencontainers.image.source=https://github.com/jenkinsci/docker org.opencontainers.image.revision=f25d242bb723d6e15538723231cec826efa7a108 org.opencontainers.image.licenses=MIT
USER root
/bin/sh -c apt update && apt install -y apt-transport-https wget && wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && dpkg -i packages-microsoft-prod.deb && apt update && apt install -y dotnet-sdk-5.0 dotnet-sdk-6.0 nodejs npm
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 f25d242bb723d6e15538723231cec826efa7a108
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.345
Details
Container
2023-03-28 18:22:01 +00:00
0
OCI / Docker
linux/amd64
MIT
844 MiB
Versions (2) View all
2022-04-27 2023-03-28
2023-20-23 2023-03-28