Skip to content

Commit

Permalink
see if the jdk can be found wthout help
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Oct 30, 2023
1 parent a5a46a9 commit 3d924d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Docker/metadig-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ RUN apt-get update
RUN apt-get install -y g++ git r-base r-base-dev r-base-core r-doc-html libc6-dev libssl-dev libxml2 libxml2-dev libcurl4-openssl-dev python3 python3-pip python3-dev openjdk-17-jdk

# Set Java environment variables
ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk
ENV PATH="$PATH:$JAVA_HOME/bin"
#ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk
#ENV PATH="$PATH:$JAVA_HOME/bin"

# Install required R packages
RUN echo 'options(repos = c(CRAN = "http://cran.rstudio.com"))' >> /usr/lib/R/etc/Rprofile.site
Expand Down

0 comments on commit 3d924d1

Please sign in to comment.