From 885f6be1ded856d66e5b7b3fd09d7b5b9ef17c27 Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 29 Jan 2020 14:52:30 +0300 Subject: [PATCH] tc agent migrated to jdk8 and added atlassian sdk --- teamcity-agent/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/teamcity-agent/Dockerfile b/teamcity-agent/Dockerfile index 0db2c4691..3af06ca20 100644 --- a/teamcity-agent/Dockerfile +++ b/teamcity-agent/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/devel:jdk11 +FROM epicmorg/devel:jdk8 LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive @@ -53,7 +53,9 @@ RUN apt-get update && \ apt-get install -y git mercurial apt-transport-https ca-certificates software-properties-common && \ \ curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \ + curl -fsSL https://packages.atlassian.com/api/gpg/key/public | apt-key add - && \ echo 'deb [arch=amd64] https://download.docker.com/linux/debian buster stable' > /etc/apt/sources.list.d/docker.list && \ + echo 'deb https://packages.atlassian.com/debian/atlassian-sdk-deb/ stable contrib' > /etc/apt/sources.list && \ apt-cache policy docker-ce && \ apt-get update && apt-get install -y --allow-unauthenticated docker-ce docker-ce-cli containerd.io systemd && \ systemctl disable docker && \ @@ -69,6 +71,7 @@ RUN apt-get update && \ libssl1.1 \ libstdc++6 \ zlib1g \ + atlassian-plugin-sdk \ && rm -rf /var/lib/apt/lists/* && \ \ curl -SL https://download.visualstudio.microsoft.com/download/pr/c4b503d6-2f41-4908-b634-270a0a1dcfca/c5a20e42868a48a2cd1ae27cf038044c/dotnet-sdk-$DOTNET_SDK_VERSION-linux-x64.tar.gz --output dotnet.tar.gz \