Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bpkroth committed Aug 16, 2024
1 parent 753c511 commit d868702
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,9 @@ RUN umask 0002 \
RUN mkdir -p /home/vscode/.conda/envs \
&& ln -s /opt/conda/envs/mlos /home/vscode/.conda/envs/mlos

# Try and prime the devcontainer's known ssh keys with the github one.
RUN mkdir -p /home/vscode/.ssh && ssh-keyscan github.com | tee -a /home/vscode/.ssh/known_hosts
# Try and prime the devcontainer's ssh known_hosts keys with the github one for scripted calls.
RUN mkdir -p /home/vscode/.ssh \
&& (
grep -q ^github.com /home/vscode/.ssh/known_hosts \
|| ssh-keyscan github.com | tee -a /home/vscode/.ssh/known_hosts \
)

0 comments on commit d868702

Please sign in to comment.