build-tools (sha256:7d6a946668d9b6c15878d543c1b680f45d1480b5152a10c32fde7e9989726d09)

Published 2026-01-27 16:39:10 +00:00 by forgeci

Installation

docker pull forge.sath.com/sath/build-tools@sha256:7d6a946668d9b6c15878d543c1b680f45d1480b5152a10c32fde7e9989726d09
sha256:7d6a946668d9b6c15878d543c1b680f45d1480b5152a10c32fde7e9989726d09

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:3077ee44db3cc7d38740d60a05c81418dd3825a007db473658464f52689e867b in /
CMD ["/bin/bash"]
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 DEBIAN_FRONTEND=noninteractive TZ=Europe/London
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl ca-certificates fontconfig locales unzip netcat-openbsd && apt-get install -y python3-venv && apt-get clean && rm -rf /var/lib/apt/lists/* && echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen en_US.UTF-8 && rm -rf /var/lib/apt/lists/* && if id -u ubuntu >/dev/null 2>&1 && [ "$(id -u ubuntu)" -eq 1000 ]; then userdel -r -f ubuntu; fi && groupadd -g 1000 buildagent && useradd -m -u 1000 -g 1000 buildagent # buildkit
ARG jdkLinuxComponent=https://corretto.aws/downloads/resources/25.0.2.10.1/amazon-corretto-25.0.2.10.1-linux-x64.tar.gz
ARG jdkLinuxComponentMD5SUM=e47e0836a31a3b30e5298c3f3bacc349
ARG ubuntuImage=ubuntu:24.04
RUN |3 jdkLinuxComponent=https://corretto.aws/downloads/resources/25.0.2.10.1/amazon-corretto-25.0.2.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=e47e0836a31a3b30e5298c3f3bacc349 ubuntuImage=ubuntu:24.04 /bin/sh -c set -eux; curl -LfsSo /tmp/openjdk.tar.gz ${jdkLinuxComponent}; echo "${jdkLinuxComponentMD5SUM} */tmp/openjdk.tar.gz" | md5sum -c -; mkdir -p /opt/java/openjdk; cd /opt/java/openjdk; tar -xf /tmp/openjdk.tar.gz --strip-components=1; chown -R root:root /opt/java; rm -rf /tmp/openjdk.tar.gz; # buildkit
ENV JAVA_HOME=/opt/java/openjdk JDK_HOME=/opt/java/openjdk PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN |3 jdkLinuxComponent=https://corretto.aws/downloads/resources/25.0.2.10.1/amazon-corretto-25.0.2.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=e47e0836a31a3b30e5298c3f3bacc349 ubuntuImage=ubuntu:24.04 /bin/sh -c update-alternatives --install /usr/bin/java java ${JDK_HOME}/bin/java 1 && update-alternatives --set java ${JDK_HOME}/bin/java && update-alternatives --install /usr/bin/javac javac ${JDK_HOME}/bin/javac 1 && update-alternatives --set javac ${JDK_HOME}/bin/javac # buildkit
ENV CONFIG_FILE=/data/teamcity_agent/conf/buildAgent.properties LANG=C.UTF-8
COPY --chown=buildagent:buildagent run-agent.sh /run-agent.sh # buildkit
COPY --chown=buildagent:buildagent run-agent-services.sh /run-services.sh # buildkit
COPY --chown=buildagent:buildagent TeamCity/buildAgent /opt/buildagent # buildkit
RUN |3 jdkLinuxComponent=https://corretto.aws/downloads/resources/25.0.2.10.1/amazon-corretto-25.0.2.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=e47e0836a31a3b30e5298c3f3bacc349 ubuntuImage=ubuntu:24.04 /bin/sh -c chmod +x /opt/buildagent/bin/*.sh && chmod +x /run-agent.sh /run-services.sh && sync && mkdir -p /data/teamcity_agent/conf && chown -R buildagent:buildagent /data/teamcity_agent && sed -i -e 's/\r$//' /run-agent.sh && sed -i -e 's/\r$//' /run-services.sh # buildkit
USER buildagent
RUN |3 jdkLinuxComponent=https://corretto.aws/downloads/resources/25.0.2.10.1/amazon-corretto-25.0.2.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=e47e0836a31a3b30e5298c3f3bacc349 ubuntuImage=ubuntu:24.04 /bin/sh -c mkdir -p /opt/buildagent/work && mkdir -p /opt/buildagent/system/.teamcity-agent && mkdir -p /opt/buildagent/temp && mkdir -p /opt/buildagent/plugins && mkdir -p /opt/buildagent/logs && mkdir -p /opt/buildagent/tools && echo >> /opt/buildagent/system/.teamcity-agent/teamcity-agent.xml && sed -i -e 's/\r$//' /opt/buildagent/system/.teamcity-agent/teamcity-agent.xml && echo >> /opt/buildagent/system/.teamcity-agent/unpacked-plugins.xml && sed -i -e 's/\r$//' /opt/buildagent/system/.teamcity-agent/unpacked-plugins.xml # buildkit
VOLUME [/data/teamcity_agent/conf]
VOLUME [/opt/buildagent/work]
VOLUME [/opt/buildagent/system]
VOLUME [/opt/buildagent/temp]
VOLUME [/opt/buildagent/logs]
VOLUME [/opt/buildagent/tools]
VOLUME [/opt/buildagent/plugins]
CMD ["/run-services.sh"]
COPY /etc/gitconfig /etc/gitconfig # buildkit
COPY /usr/bin/git-lfs /usr/bin/git-lfs # buildkit
USER root
COPY run-docker.sh /services/run-docker.sh # buildkit
ARG dotnetCoreLinuxComponentVersion
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true ASPNETCORE_URLS=http://+:80 DOTNET_RUNNING_IN_CONTAINER=true DOTNET_USE_POLLING_FILE_WATCHER=true NUGET_XMLDOC_MODE=skip GIT_SSH_VARIANT=ssh DOTNET_SDK_VERSION=
ARG dotnetLinuxComponent=https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.415/dotnet-sdk-8.0.415-linux-x64.tar.gz
ARG dotnetLinuxComponentSHA512=0fc0499a857f161f7c35775bb3f50ac6f0333f02f5df21d21147d538eb26a9a87282d4ba3707181c46f3c09d22cdc984e77820a5953a773525d6f7b332deb7f2
ARG dotnetLibs=libc6 libgcc-s1 libicu74 liblttng-ust1 libssl3 libstdc++6 zlib1g
ARG gitLinuxComponentVersion=1:2.52.0-0ppa1~ubuntu24.04.3
ARG gitLFSLinuxComponentVersion=v3.7.1
ARG dockerLinuxComponentVersion=5:28.5.1-1~ubuntu
ARG containerdIoLinuxComponentVersion=1.7.28-1~ubuntu.24.04~noble
ARG p4Version=r25.1
ARG gitLinuxComponentVersion=1:2.52.0-0ppa1~ubuntu24.04.3
RUN |12 jdkLinuxComponent=https://corretto.aws/downloads/resources/25.0.2.10.1/amazon-corretto-25.0.2.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=e47e0836a31a3b30e5298c3f3bacc349 ubuntuImage=ubuntu:24.04 dotnetCoreLinuxComponentVersion= dotnetLinuxComponent=https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.415/dotnet-sdk-8.0.415-linux-x64.tar.gz dotnetLinuxComponentSHA512=0fc0499a857f161f7c35775bb3f50ac6f0333f02f5df21d21147d538eb26a9a87282d4ba3707181c46f3c09d22cdc984e77820a5953a773525d6f7b332deb7f2 dotnetLibs=libc6 libgcc-s1 libicu74 liblttng-ust1 libssl3 libstdc++6 zlib1g gitLinuxComponentVersion=1:2.52.0-0ppa1~ubuntu24.04.3 gitLFSLinuxComponentVersion=v3.7.1 dockerLinuxComponentVersion=5:28.5.1-1~ubuntu containerdIoLinuxComponentVersion=1.7.28-1~ubuntu.24.04~noble p4Version=r25.1 /bin/sh -c apt-get update && apt-get install -y mercurial apt-transport-https software-properties-common && add-apt-repository ppa:git-core/ppa -y && apt-get install -y git=${gitLinuxComponentVersion} && curl -Lo /usr/local/bin/p4 "https://www.perforce.com/downloads/perforce/${p4Version}/bin.linux26x86_64/p4" && chmod +x /usr/local/bin/p4 && p4 -V && apt-get clean && rm -rf /var/lib/apt/lists/* && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && apt-cache policy docker-ce && apt-get update && apt-get install -y docker-ce=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) docker-ce-cli=${dockerLinuxComponentVersion}.$(lsb_release -rs)~$(lsb_release -cs) containerd.io:amd64=${containerdIoLinuxComponentVersion} systemd && systemctl disable docker && sed -i -e 's/\r$//' /services/run-docker.sh && apt-get install -y --no-install-recommends ${dotnetLibs} && apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir -p /usr/share/dotnet && curl -SL ${dotnetLinuxComponent} --output /tmp/dotnet.tar.gz && echo "Downloaded .NET 8.0 (Linux AMD64) checksum: $(sha512sum tmp/dotnet.tar.gz)" && echo "${dotnetLinuxComponentSHA512} */tmp/dotnet.tar.gz" | sha512sum -c -; tar -zxf /tmp/dotnet.tar.gz -C /usr/share/dotnet && rm /tmp/dotnet.tar.gz && find /usr/share/dotnet -name "*.lzma" -type f -delete && ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet && dotnet help && dotnet --info && apt-get clean && rm -rf /var/lib/apt/lists/* && chown -R buildagent:buildagent /services && usermod -aG docker buildagent && [ -f /etc/gitconfig ] || (echo "'/etc/gitconfig' does not exist, while LFS filter is required" && exit 1) # buildkit
RUN |12 jdkLinuxComponent=https://corretto.aws/downloads/resources/25.0.2.10.1/amazon-corretto-25.0.2.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=e47e0836a31a3b30e5298c3f3bacc349 ubuntuImage=ubuntu:24.04 dotnetCoreLinuxComponentVersion= dotnetLinuxComponent=https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.415/dotnet-sdk-8.0.415-linux-x64.tar.gz dotnetLinuxComponentSHA512=0fc0499a857f161f7c35775bb3f50ac6f0333f02f5df21d21147d538eb26a9a87282d4ba3707181c46f3c09d22cdc984e77820a5953a773525d6f7b332deb7f2 dotnetLibs=libc6 libgcc-s1 libicu74 liblttng-ust1 libssl3 libstdc++6 zlib1g gitLinuxComponentVersion=1:2.52.0-0ppa1~ubuntu24.04.3 gitLFSLinuxComponentVersion=v3.7.1 dockerLinuxComponentVersion=5:28.5.1-1~ubuntu containerdIoLinuxComponentVersion=1.7.28-1~ubuntu.24.04~noble p4Version=r25.1 /bin/sh -c curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && chmod 700 get_helm.sh && ./get_helm.sh # buildkit
RUN |12 jdkLinuxComponent=https://corretto.aws/downloads/resources/25.0.2.10.1/amazon-corretto-25.0.2.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=e47e0836a31a3b30e5298c3f3bacc349 ubuntuImage=ubuntu:24.04 dotnetCoreLinuxComponentVersion= dotnetLinuxComponent=https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.415/dotnet-sdk-8.0.415-linux-x64.tar.gz dotnetLinuxComponentSHA512=0fc0499a857f161f7c35775bb3f50ac6f0333f02f5df21d21147d538eb26a9a87282d4ba3707181c46f3c09d22cdc984e77820a5953a773525d6f7b332deb7f2 dotnetLibs=libc6 libgcc-s1 libicu74 liblttng-ust1 libssl3 libstdc++6 zlib1g gitLinuxComponentVersion=1:2.52.0-0ppa1~ubuntu24.04.3 gitLFSLinuxComponentVersion=v3.7.1 dockerLinuxComponentVersion=5:28.5.1-1~ubuntu containerdIoLinuxComponentVersion=1.7.28-1~ubuntu.24.04~noble p4Version=r25.1 /bin/sh -c helm plugin install https://github.com/chartmuseum/helm-push # buildkit
VOLUME [/var/lib/docker]
USER root
RUN |12 jdkLinuxComponent=https://corretto.aws/downloads/resources/25.0.2.10.1/amazon-corretto-25.0.2.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=e47e0836a31a3b30e5298c3f3bacc349 ubuntuImage=ubuntu:24.04 dotnetCoreLinuxComponentVersion= dotnetLinuxComponent=https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.415/dotnet-sdk-8.0.415-linux-x64.tar.gz dotnetLinuxComponentSHA512=0fc0499a857f161f7c35775bb3f50ac6f0333f02f5df21d21147d538eb26a9a87282d4ba3707181c46f3c09d22cdc984e77820a5953a773525d6f7b332deb7f2 dotnetLibs=libc6 libgcc-s1 libicu74 liblttng-ust1 libssl3 libstdc++6 zlib1g gitLinuxComponentVersion=1:2.52.0-0ppa1~ubuntu24.04.3 gitLFSLinuxComponentVersion=v3.7.1 dockerLinuxComponentVersion=5:28.5.1-1~ubuntu containerdIoLinuxComponentVersion=1.7.28-1~ubuntu.24.04~noble p4Version=r25.1 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends sudo && apt-get clean && rm -rf /var/lib/apt/lists/* && echo 'buildagent ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers && rm -rf /var/lib/apt/lists/* # buildkit
USER buildagent

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2026-01-27 16:39:10 +00:00
0
OCI / Docker
linux/amd64
790 MiB
Versions (7) View all
java21-1.0.2 2026-01-19
teamcity 2026-01-15
1.0.2 2026-01-14
latest 2026-01-14