Skip to content

Commit

Permalink
updated java base image because openjdk is no longer supported
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyowen committed Jul 5, 2022
1 parent 6a187f2 commit e622bfc
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 24 deletions.
8 changes: 5 additions & 3 deletions docker-image-src/3.5/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM openjdk:8-jre-slim

ENV NEO4J_SHA256=%%NEO4J_SHA%% \
FROM debian:bullseye-slim
ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:8 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}" \
NEO4J_SHA256=%%NEO4J_SHA%% \
NEO4J_TARBALL=%%NEO4J_TARBALL%% \
NEO4J_EDITION=%%NEO4J_EDITION%% \
NEO4J_HOME="/var/lib/neo4j"
Expand Down
8 changes: 5 additions & 3 deletions docker-image-src/3.5/neo4j-admin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM openjdk:8-jre-slim

ENV NEO4J_SHA256=%%NEO4J_SHA%% \
FROM debian:bullseye-slim
ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:8 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}" \
NEO4J_SHA256=%%NEO4J_SHA%% \
NEO4J_TARBALL=%%NEO4J_TARBALL%% \
NEO4J_EDITION=%%NEO4J_EDITION%% \
NEO4J_HOME="/var/lib/neo4j"
Expand Down
8 changes: 5 additions & 3 deletions docker-image-src/4.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM %%NEO4J_BASE_IMAGE%%

ENV NEO4J_SHA256=%%NEO4J_SHA%% \
FROM debian:bullseye-slim
ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}" \
NEO4J_SHA256=%%NEO4J_SHA%% \
NEO4J_TARBALL=%%NEO4J_TARBALL%% \
NEO4J_EDITION=%%NEO4J_EDITION%% \
NEO4J_HOME="/var/lib/neo4j"
Expand Down
8 changes: 5 additions & 3 deletions docker-image-src/4.3/neo4j-admin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM %%NEO4J_BASE_IMAGE%%

ENV NEO4J_SHA256=%%NEO4J_SHA%% \
FROM debian:bullseye-slim
ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}" \
NEO4J_SHA256=%%NEO4J_SHA%% \
NEO4J_TARBALL=%%NEO4J_TARBALL%% \
NEO4J_EDITION=%%NEO4J_EDITION%% \
NEO4J_HOME="/var/lib/neo4j"
Expand Down
8 changes: 5 additions & 3 deletions docker-image-src/4.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM openjdk:11-jdk-slim

ENV NEO4J_SHA256=%%NEO4J_SHA%% \
FROM debian:bullseye-slim
ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}" \
NEO4J_SHA256=%%NEO4J_SHA%% \
NEO4J_TARBALL=%%NEO4J_TARBALL%% \
NEO4J_EDITION=%%NEO4J_EDITION%% \
NEO4J_HOME="/var/lib/neo4j"
Expand Down
8 changes: 5 additions & 3 deletions docker-image-src/4.4/neo4j-admin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM openjdk:11-jdk-slim

ENV NEO4J_SHA256=%%NEO4J_SHA%% \
FROM debian:bullseye-slim
ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:11 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}" \
NEO4J_SHA256=%%NEO4J_SHA%% \
NEO4J_TARBALL=%%NEO4J_TARBALL%% \
NEO4J_EDITION=%%NEO4J_EDITION%% \
NEO4J_HOME="/var/lib/neo4j"
Expand Down
8 changes: 5 additions & 3 deletions docker-image-src/5.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM openjdk:17-jdk-slim

ENV NEO4J_SHA256=%%NEO4J_SHA%% \
FROM debian:bullseye-slim
ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:17 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}" \
NEO4J_SHA256=%%NEO4J_SHA%% \
NEO4J_TARBALL=%%NEO4J_TARBALL%% \
NEO4J_EDITION=%%NEO4J_EDITION%% \
NEO4J_HOME="/var/lib/neo4j"
Expand Down
8 changes: 5 additions & 3 deletions docker-image-src/5.0/neo4j-admin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM openjdk:17-jdk-slim

ENV NEO4J_SHA256=%%NEO4J_SHA%% \
FROM debian:bullseye-slim
ENV JAVA_HOME=/opt/java/openjdk
COPY --from=eclipse-temurin:17 $JAVA_HOME $JAVA_HOME
ENV PATH="${JAVA_HOME}/bin:${PATH}" \
NEO4J_SHA256=%%NEO4J_SHA%% \
NEO4J_TARBALL=%%NEO4J_TARBALL%% \
NEO4J_EDITION=%%NEO4J_EDITION%% \
NEO4J_HOME="/var/lib/neo4j"
Expand Down

0 comments on commit e622bfc

Please sign in to comment.