From 5944805d277f49387be4a6af71d9ec1a36c9b834 Mon Sep 17 00:00:00 2001 From: Andreas Fahrecker Date: Fri, 6 Jun 2025 05:40:52 +0200 Subject: [PATCH] refactor: :bulb: Added TODO comment to fix alpine image, still not working doing that later --- alpine/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index fc4a965..cf768ee 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -15,9 +15,11 @@ RUN apk add --no-cache openssl RUN apk add --no-cache git-lfs RUN git lfs install --system + +# TODO: doesnt work still, something about not finding the java binary over ssh # 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 +#RUN echo 'PermitUserEnvironment yes' >> /etc/ssh/sshd_config +#RUN echo 'UsePAM yes' >> /etc/ssh/sshd_config # Add Java to environment file that SSH will read -RUN echo 'PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' >> /etc/environment \ No newline at end of file +#RUN echo 'PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' >> /etc/environment \ No newline at end of file