From e9fe9f5397901963e28cbb23182df5f517f04397 Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Tue, 22 Feb 2022 10:17:09 +0100 Subject: [PATCH] Merge pull request #6806 from overleaf/msm-remove-docker-cli [clsi] remove `docker-ce-cli` GitOrigin-RevId: bb49621091aafd43e9e6f157c5fd3b09ca9d07a8 --- services/clsi/entrypoint.sh | 2 -- services/clsi/install_deps.sh | 14 -------------- 2 files changed, 16 deletions(-) diff --git a/services/clsi/entrypoint.sh b/services/clsi/entrypoint.sh index 1f906c8c7d..9446ab9e2d 100755 --- a/services/clsi/entrypoint.sh +++ b/services/clsi/entrypoint.sh @@ -1,7 +1,5 @@ #!/bin/sh -docker --version >&2 - # add the node user to the docker group on the host DOCKER_GROUP=$(stat -c '%g' /var/run/docker.sock) groupadd --non-unique --gid ${DOCKER_GROUP} dockeronhost diff --git a/services/clsi/install_deps.sh b/services/clsi/install_deps.sh index f0cc386ff5..bcddc2d8e1 100755 --- a/services/clsi/install_deps.sh +++ b/services/clsi/install_deps.sh @@ -2,22 +2,8 @@ set -ex apt-get update -apt-get install -y \ - apt-transport-https \ - ca-certificates \ - curl \ - gnupg \ - lsb-release - -curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg -echo \ - "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ - $(lsb_release -cs) stable" \ - > /etc/apt/sources.list.d/docker.list -apt-get update apt-get install -y \ - docker-ce-cli \ poppler-utils \ ghostscript \