From 16f4ca20a1b40ffd1ed49d44d3152f89ba757f67 Mon Sep 17 00:00:00 2001 From: Andreas Fahrecker Date: Fri, 6 Jun 2025 05:27:43 +0200 Subject: [PATCH] fix: :green_heart: Maybe Fix alpine image --- alpine/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index a811f36..c65b8fa 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -15,6 +15,6 @@ RUN apk add --no-cache openssl RUN apk add --no-cache git-lfs RUN git lfs install --system -# Add Java to PATH via profile.d for SSH sessions -RUN echo 'export PATH="/opt/java/openjdk/bin:$PATH"' > /etc/profile.d/10-java.sh -RUN chmod +x /etc/profile.d/10-java.sh \ No newline at end of file +# Configure SSH to behave more like Debian - load environment properly +RUN echo 'PermitUserEnvironment yes' >> /etc/ssh/sshd_config +RUN echo 'UsePAM yes' >> /etc/ssh/sshd_config \ No newline at end of file