teamcity-agent-ops-terraform (sha256:eacd256f79153aa8d9dc808e15e8ed803ff3465f724ea0347914699ae3460a79)

Published 2026-11-10 18:51:18 +00:00 by moe-connector-publisher

Installation

docker pull scm.moebiusol.eu/moebiusol/teamcity-agent-ops-terraform@sha256:eacd256f79153aa8d9dc808e15e8ed803ff3465f724ea0347914699ae3460a79
sha256:eacd256f79153aa8d9dc808e15e8ed803ff3465f724ea0347914699ae3460a79

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:ddf1aa62235de6657123492b19d27d937c25668011b5ebf923a3f019200f8540 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.9.10.1/amazon-corretto-21.0.9.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=18a45468ad50c1e0e09201de38c5c8f4 /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.9.10.1/amazon-corretto-21.0.9.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=18a45468ad50c1e0e09201de38c5c8f4 /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.9.10.1/amazon-corretto-21.0.9.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=18a45468ad50c1e0e09201de38c5c8f4 /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.9.10.1/amazon-corretto-21.0.9.10.1-linux-x64.tar.gz jdkLinuxComponentMD5SUM=18a45468ad50c1e0e09201de38c5c8f4 /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.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.1 gitLFSLinuxComponentVersion=v3.7.1 dockerLinuxComponentVersion=5:28.5.1-1~ubuntu containerdIoLinuxComponentVersion=1.7.28-1~ubuntu.24.04~noble p4Version=r25.1 gitLinuxComponentVersion=1:2.52.0-0ppa1~ubuntu24.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 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
VOLUME [/var/lib/docker]
USER buildagent
USER root
SHELL [/bin/bash -o pipefail -c]
ARG TERRAFORM_VERSION=1.14.3
ARG TERRAGRUNT_VERSION=0.75.2
ARG TFLINT_VERSION=0.54.0
ARG TFSEC_VERSION=1.28.6
ARG KUBECTL_VERSION=1.30.4
ARG HELM_VERSION=3.16.3
|6 HELM_VERSION=3.16.3 KUBECTL_VERSION=1.30.4 TERRAFORM_VERSION=1.14.3 TERRAGRUNT_VERSION=0.75.2 TFLINT_VERSION=0.54.0 TFSEC_VERSION=1.28.6 /bin/bash -o pipefail -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl git unzip && rm -rf /var/lib/apt/lists/*
|6 HELM_VERSION=3.16.3 KUBECTL_VERSION=1.30.4 TERRAFORM_VERSION=1.14.3 TERRAGRUNT_VERSION=0.75.2 TFLINT_VERSION=0.54.0 TFSEC_VERSION=1.28.6 /bin/bash -o pipefail -c arch="$(uname -m)" && case "${arch}" in x86_64) bin_arch="amd64" ;; aarch64) bin_arch="arm64" ;; *) echo "Unsupported arch: ${arch}" >&2; exit 1 ;; esac && curl -fsSL "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_${bin_arch}.zip" -o /tmp/terraform.zip && unzip /tmp/terraform.zip -d /usr/local/bin && rm /tmp/terraform.zip && curl -fsSL "https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT_VERSION}/terragrunt_linux_${bin_arch}" -o /usr/local/bin/terragrunt && chmod +x /usr/local/bin/terragrunt && curl -fsSL "https://github.com/terraform-linters/tflint/releases/download/v${TFLINT_VERSION}/tflint_linux_${bin_arch}.zip" -o /tmp/tflint.zip && unzip /tmp/tflint.zip -d /usr/local/bin && rm /tmp/tflint.zip && curl -fsSL "https://github.com/aquasecurity/tfsec/releases/download/v${TFSEC_VERSION}/tfsec-linux-${bin_arch}" -o /usr/local/bin/tfsec && chmod +x /usr/local/bin/tfsec && curl -fsSL "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/${bin_arch}/kubectl" -o /usr/local/bin/kubectl && chmod +x /usr/local/bin/kubectl && curl -fsSL "https://get.helm.sh/helm-v${HELM_VERSION}-linux-${bin_arch}.tar.gz" -o /tmp/helm.tgz && tar -xzf /tmp/helm.tgz -C /tmp && mv "/tmp/linux-${bin_arch}/helm" /usr/local/bin/helm && rm -rf /tmp/helm.tgz "/tmp/linux-${bin_arch}"
USER buildagent
USER root
SHELL [/bin/bash -o pipefail -c]
RUN /bin/bash -o pipefail -c apt-get -o Acquire::AllowInsecureRepositories=false -o APT::Get::AllowUnauthenticated=false update && apt-get -o Acquire::AllowInsecureRepositories=false -o APT::Get::AllowUnauthenticated=false install -y --no-install-recommends python3-yaml && python3 -I -c 'import yaml; assert yaml.safe_load("ready: true") == {"ready": True}' && install -d -m 0755 /opt/moebiusol && dpkg-query -W -f='${Package}=${Version}\n' python3-yaml > /opt/moebiusol/ops-image-packages.txt && chmod 0644 /opt/moebiusol/ops-image-packages.txt && rm -rf /var/lib/apt/lists/* # buildkit
COPY --chmod=0555 verify-runtime.sh /opt/moebiusol/verify-ops-runtime.sh # buildkit
USER buildagent
RUN /bin/bash -o pipefail -c /opt/moebiusol/verify-ops-runtime.sh # buildkit

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.revision d09e27ace0bf157de60c59feaff65b0365764d74
org.opencontainers.image.source https://scm.moebiusol.eu/Moebiusol/moe-workload.git
org.opencontainers.image.version 24.04
Details
Container
2026-11-10 18:51:18 +00:00
7
OCI / Docker
linux/amd64
1.1 GiB
Versions (1) View all