diff --git a/alpine/Dockerfile b/alpine/Dockerfile index a7b2d31..a811f36 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -14,3 +14,7 @@ RUN apk add --no-cache openssl #Install git lfs 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