Skip to content
Snippets Groups Projects
Commit f2095d0d authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Added JAVA_HOME environment variable to the images.

parent 0ca0c67e
No related branches found
No related tags found
No related merge requests found
Pipeline #632 passed
......@@ -39,6 +39,8 @@ RUN apt-get update && \
ARG aparapiver
RUN mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get -DrepoUrl="https://repo1.maven.org/maven2/" -Dartifact=com.aparapi:aparapi:${aparapiver}
ENV JAVA_HOME /usr/lib/jvm/java-14-openjdk-amd64/
#RUN dpkg --add-architecture i386 && \
# apt-get update && apt-get -y dist-upgrade && \
# apt-get -y --no-install-recommends install ca-certificates curl xz-utils
......
......@@ -32,3 +32,4 @@ RUN mvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get -DrepoUrl="http
# nvidia-container-runtime
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
ENV JAVA_HOME /usr/lib/jvm/java-14-openjdk-amd64/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment