Teamcity Agent minimal setup upgraded (Only Linux)
1.9K
TeamCity agent setup based on teamcity-agent minimal upgraded with next things pre-built:
Dockerfile:
FROM jetbrains/teamcity-minimal-agent:2018.2.2-linux
ARG COMPOSE_VERSION $COMPOSE_VERSION
ARG KUBECTL_VERSION $KUBECTL_VERSION
COPY ./templater /usr/bin/templater
RUN apt-get update -qq && \
apt-get install --no-install-recommends -y -qq \
apt-transport-https \
ca-certificates \
curl gnupg \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
add-apt-repository -y \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" && \
apt-get update -qq && \
apt-get install docker-ce -qq -y && \
curl -LsS "https://github.com/docker/compose/releases/download/$COMPOSE_VERSION/docker-compose-$(uname -s)-$(uname -m)" \
-o /usr/bin/docker-compose && \
chmod +x /usr/bin/docker-compose && \
curl -LsS "https://storage.googleapis.com/kubernetes-release/release/$KUBECTL_VERSION/bin/linux/amd64/kubectl" \
-o /usr/bin/kubectl && \
chmod +x /usr/bin/kubectl && \
apt-get purge -y -qq curl \
apt-transport-https \
ca-certificates gnupg\
software-properties-common && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* && \
apt-get clean -qq
Content type
Image
Digest
Size
267.2 MB
Last updated
over 7 years ago
docker pull dimtoolsinc/teamcity-agent