From 5e03374d6cd795c6589f3a5ae5e997e82a6e0808 Mon Sep 17 00:00:00 2001 From: phoenix Date: Mon, 21 Jul 2025 22:11:18 -0400 Subject: [PATCH] Port change --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index c5ed690..2775a3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,17 +18,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ # Configure SSH to use the custom port (e.g., 2222) # Replace `your-git-server.com` with your actual Git host -# RUN mkdir -p ~/.ssh && \ -# echo "Host git.kundeng.us" >> ~/.ssh/config && \ -# echo " Port 8122" >> ~/.ssh/config && \ -# echo " User git" >> ~/.ssh/config && \ -# chmod 600 ~/.ssh/config +RUN mkdir -p ~/.ssh && \ + echo "Host git.kundeng.us" >> ~/.ssh/config && \ + echo " Port 8122" >> ~/.ssh/config && \ + echo " User git" >> ~/.ssh/config && \ + chmod 600 ~/.ssh/config # << --- ADD HOST KEY HERE --- >> # Replace 'yourgithost.com' with the actual hostname (e.g., github.com) # RUN ssh-keyscan -p 8122 git.kundeng.us >> ~/.ssh/known_hosts RUN mkdir -p ~/.ssh && \ - ssh-keyscan git.kundeng.us >> ~/.ssh/known_hosts + ssh-keyscan -p 8122 git.kundeng.us >> ~/.ssh/known_hosts # RUN ssh-add -L