Skip to content

Commit

Permalink
Update to latest sudo to avoid false warnings #20
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarrion87 authored Oct 25, 2023
2 parents 0769487 + 4ce8237 commit 084bee5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 084bee5

Please sign in to comment.