diff --git a/Dockerfile b/Dockerfile index b5b0e0a..5bd7d74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ ENV PYTHONUNBUFFERED=1 RUN apk add bash curl git zip RUN curl -s "https://get.sdkman.io" | bash -RUN bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && \ - yes | sdk install java 21.0.3-tem && \ +RUN echo "source $HOME/.sdkman/bin/sdkman-init.sh" | ~/.profile +RUN bash -c "yes | sdk install java 21.0.3-tem && \ yes n | sdk install java 17.0.11-tem && \ rm -rf $HOME/.sdkman/archives/* && \ rm -rf $HOME/.sdkman/tmp/*"