build-tools (teamcity)
Published 2026-01-15 14:40:32 +00:00 by joseph
Installation
docker pull forge.sath.com/sath/build-tools:teamcitysha256:ccf83a3e88a0a78eee0c0d8f36582b3cf663bf7df56aebc870de15ea6da2addcImage layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:32d41b6329e8f89fa4ac92ef97c04b7cfd5e90fb74e1509c3e27d7c91195b7c7 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/* && useradd -m buildagent # buildkit |
| ARG jdkLinuxComponent |
| ARG jdkLinuxComponentMD5SUM |
| RUN |2 jdkLinuxComponent=https://corretto.aws/downloads/resources/21.0.6.7.1/amazon-corretto-21.0.6.7.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=49cefdfc07e785430013f8dfd24a3fd7 /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 |2 jdkLinuxComponent=https://corretto.aws/downloads/resources/21.0.6.7.1/amazon-corretto-21.0.6.7.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=49cefdfc07e785430013f8dfd24a3fd7 /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 |2 jdkLinuxComponent=https://corretto.aws/downloads/resources/21.0.6.7.1/amazon-corretto-21.0.6.7.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=49cefdfc07e785430013f8dfd24a3fd7 /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 |2 jdkLinuxComponent=https://corretto.aws/downloads/resources/21.0.6.7.1/amazon-corretto-21.0.6.7.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=49cefdfc07e785430013f8dfd24a3fd7 /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 |
| ARG dotnetLinuxComponentSHA512 |
| ARG dotnetLibs |
| ARG gitLinuxComponentVersion |
| ARG gitLFSLinuxComponentVersion |
| ARG dockerLinuxComponentVersion |
| ARG containerdIoLinuxComponentVersion |
| ARG p4Version |
| ARG gitLinuxComponentVersion |
| RUN |10 dotnetCoreLinuxComponentVersion= dotnetLinuxComponent=https://builds.dotnet.microsoft.com/dotnet/Sdk/8.0.406/dotnet-sdk-8.0.406-linux-x64.tar.gz dotnetLinuxComponentSHA512=d6fdcfebd0df46959f7857cfb3beac7de6c8843515ece28b24802765fd9cfb6c7e9701b320134cb4907322937ab89cae914ddc21bf48b9b6313e9a9af5c1f24a dotnetLibs=libc6 libgcc1 libgssapi-krb5-2 libicu70 libssl3 libstdc++6 zlib1g gitLinuxComponentVersion=1:2.51.0-0ppa2~ubuntu22.04.1 gitLFSLinuxComponentVersion=v3.6.1 dockerLinuxComponentVersion=5:27.5.1-1~ubuntu containerdIoLinuxComponentVersion=1.6.28-2 p4Version=r24.2 gitLinuxComponentVersion=1:2.51.0-0ppa2~ubuntu22.04.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 6.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 |
| VOLUME [/var/lib/docker] |
| USER buildagent |
| /run-services.sh |
| /run-services.sh |
| /run-services.sh |
Labels
| Key | Value |
|---|---|
| com.docker.compose.config-hash | 62959b828b29aa1f4b7c2d737625576adc2eff6432e3720be621f7e8a0b5b73e |
| com.docker.compose.container-number | 1 |
| com.docker.compose.depends_on | |
| com.docker.compose.image | sha256:205994bb1da6f13345ab007729bb2ca384dd5a5a899a606edadd893e0dd15f1e |
| com.docker.compose.oneoff | False |
| com.docker.compose.project | teamcity |
| com.docker.compose.project.config_files | /home/idhub/teamcity/docker-compose.yml |
| com.docker.compose.project.working_dir | /home/idhub/teamcity |
| com.docker.compose.replace | teamcity-agent-1-1 |
| com.docker.compose.service | teamcity-agent-1 |
| com.docker.compose.version | 5.0.0 |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.version | 22.04 |
Details
2026-01-15 14:40:32 +00:00
Versions (7)
View all
Container
5
OCI / Docker
linux/amd64
1.8 GiB
teamcity
2026-01-15
1.0.2
2026-01-14
latest
2026-01-14
java-25-1.0.1
2026-01-13
main-1.0.1
2025-11-20