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