From 25c82f0f6367b2b7a834b73cfd4b0fe50954ab51 Mon Sep 17 00:00:00 2001 From: Rahul Patil Date: Mon, 9 Sep 2024 10:33:19 +0200 Subject: [PATCH] fix docker installation --- Dockerfile.build-tools | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile.build-tools b/Dockerfile.build-tools index 2a75f470a2..07e4f7df70 100644 --- a/Dockerfile.build-tools +++ b/Dockerfile.build-tools @@ -85,8 +85,10 @@ RUN curl -fsSL 'https://apt.llvm.org/llvm-snapshot.gpg.key' | apt-key add - \ # PostgreSQL 14 RUN curl -fsSL 'https://www.postgresql.org/media/keys/ACCC4CF8.asc' | apt-key add - \ && echo 'deb http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main' > /etc/apt/sources.list.d/pgdg.list \ + && apt install -y apt-transport-https ca-certificates curl gnupg-agent lsb-release \ + && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor > /usr/share/keyrings/docker-ce-archive-keyring.gpg \ + && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-ce-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker-ce.list \ && apt update \ - && apt install -y apt-transport-https \ && apt install -y docker-ce docker-ce-cli \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*