diff --git a/alpine/Dockerfile b/alpine/Dockerfile index c65b8fa..fc4a965 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -17,4 +17,7 @@ RUN git lfs install --system # 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 +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