tc agent migrated to jdk8 and added atlassian sdk

This commit is contained in:
STAM 2020-01-29 14:52:30 +03:00
parent 1a95c8549c
commit 885f6be1de

View File

@ -1,4 +1,4 @@
FROM epicmorg/devel:jdk11 FROM epicmorg/devel:jdk8
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
ARG DEBIAN_FRONTEND=noninteractive 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 && \ 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://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 [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-cache policy docker-ce && \
apt-get update && apt-get install -y --allow-unauthenticated docker-ce docker-ce-cli containerd.io systemd && \ apt-get update && apt-get install -y --allow-unauthenticated docker-ce docker-ce-cli containerd.io systemd && \
systemctl disable docker && \ systemctl disable docker && \
@ -69,6 +71,7 @@ RUN apt-get update && \
libssl1.1 \ libssl1.1 \
libstdc++6 \ libstdc++6 \
zlib1g \ zlib1g \
atlassian-plugin-sdk \
&& rm -rf /var/lib/apt/lists/* && \ && 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 \ 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 \