From 4ce8237bac39fd738655d9cb034b4383fa696b53 Mon Sep 17 00:00:00 2001 From: Daniel Carrion Date: Wed, 25 Oct 2023 19:26:28 +1100 Subject: [PATCH] install latest sudo --- base/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base/Dockerfile b/base/Dockerfile index 8499b3a..c642134 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -76,6 +76,12 @@ RUN curl -LO "https://dl.k8s.io/release/v${KUBE_VERSION}/bin/linux/amd64/kubectl chmod +x kubectl && \ mv kubectl /usr/local/bin +# Workaround issue described here https://github.com/harrison-ai/cobalt-docker-coder-dev/issues/8 +# Until Ubuntu upgrade. +RUN curl -L -o "/tmp/sudo.deb" https://github.com/sudo-project/sudo/releases/download/SUDO_1_9_14p3/sudo_1.9.14-4_ubu2004_amd64.deb && \ + dpkg -i /tmp/sudo.deb && \ + rm -rf /tmp/sudo.deb + RUN ssh-keyscan github.com 2>/dev/null > /etc/ssh/ssh_known_hosts USER coder