From 29ce548efa196f840926053e8a6557038758536f Mon Sep 17 00:00:00 2001 From: thelooter Date: Sun, 5 Nov 2023 23:29:45 +0100 Subject: [PATCH] feat(docker): Move to full image --- Dockerfile | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index 63f5f5f..7f6653d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM jetbrains/teamcity-minimal-agent:2023.05.4 +FROM jetbrains/teamcity-agent:2023.05.4 ENV DEBIAN_FRONTEND noninteractive @@ -10,20 +10,6 @@ RUN apt update \ RUN apt update \ && add-apt-repository ppa:longsleep/golang-backports \ && apt update \ - && apt install golang-go git ca-certificates curl gnupg -y - -RUN install -m 0755 -d /etc/apt/keyrings \ - && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \ - && chmod a+r /etc/apt/keyrings/docker.gpg - -RUN echo \ - "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ - "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \ - tee /etc/apt/sources.list.d/docker.list > /dev/null - -RUN apt update \ - && apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y - -RUN usermod -aG docker buildagent + && apt install golang-go git -y USER buildagent \ No newline at end of file