From cb8807a95c46e22feac90fb00d31792aed59b182 Mon Sep 17 00:00:00 2001 From: phoenix Date: Mon, 21 Jul 2025 23:20:38 -0400 Subject: [PATCH] Cleaning up Docker file --- Dockerfile | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e35b6d..38778bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,6 @@ FROM rust:1.88 as builder # Set the working directory inside the container WORKDIR /usr/src/app -# Install build dependencies if needed (e.g., for certain crates like sqlx with native TLS) -# RUN apt-get update && apt-get install -y pkg-config libssl-dev - # Install build dependencies if needed (e.g., git for cloning) RUN apt-get update && apt-get install -y --no-install-recommends \ pkg-config libssl3 \ @@ -16,28 +13,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ openssh-client git \ && rm -rf /var/lib/apt/lists/* -# 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 -# << --- 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 -p 8122 git.kundeng.us >> ~/.ssh/known_hosts RUN ssh-keyscan git.kundeng.us >> ~/.ssh/known_hosts -# RUN ssh-add -L - -# Configure Git to use SSH (instead of HTTPS) -# RUN git config --global url."ssh://git@git.kundeng.us:8122".insteadOf "ssh://git.kundeng.us" -# RUN ssh -Tv git@git.kundeng.us -p 8122 -# RUN ssh -Tv git@git.kundeng.us - # Copy Cargo manifests COPY Cargo.toml Cargo.lock ./