Skip to content

Commit

Permalink
Example: Tribuo & DeepNetts: updating the Docker hub source image nam…
Browse files Browse the repository at this point in the history
…e, correcting from oracle/graalvm to another source
  • Loading branch information
neomatrix369 committed Feb 1, 2021
1 parent 7b06ddf commit 862a0d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/deepnetts/docker-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
ARG GRAALVM_VERSION
ARG GRAALVM_JDK_VERSION

FROM oracle/graalvm-ce:${GRAALVM_VERSION}-${GRAALVM_JDK_VERSION} as graal-jdk-image
FROM findepi/graalvm:${GRAALVM_VERSION}-${GRAALVM_JDK_VERSION} as graal-jdk-image
FROM jupyter/datascience-notebook as base-image

### Install JDK 11 from AdoptOpenJDK images
COPY --from=adoptopenjdk/openjdk11 /opt/java /opt/java

### Install GraalVM for Java 11
COPY --from=graal-jdk-image /opt/graalvm-ce-* /opt/java/graalvm
COPY --from=graal-jdk-image /graalvm* /opt/java/graalvm

### Install curl needed for rest of the tasks
USER root
Expand Down
4 changes: 2 additions & 2 deletions examples/tribuo/docker-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
ARG GRAALVM_VERSION
ARG GRAALVM_JDK_VERSION

FROM oracle/graalvm-ce:${GRAALVM_VERSION}-${GRAALVM_JDK_VERSION} as graal-jdk-image
FROM findepi/graalvm:${GRAALVM_VERSION}-${GRAALVM_JDK_VERSION} as graal-jdk-image
FROM jupyter/datascience-notebook as base-image

### Install JDK 11 from AdoptOpenJDK images
COPY --from=adoptopenjdk/openjdk11 /opt/java /opt/java

### Install GraalVM for Java 11
COPY --from=graal-jdk-image /opt/graalvm-ce-* /opt/java/graalvm
COPY --from=graal-jdk-image /graalvm* /opt/java/graalvm

### Install curl needed for rest of the tasks
USER root
Expand Down

0 comments on commit 862a0d9

Please sign in to comment.