TheQuantEd commited on
Commit
fec9d49
·
1 Parent(s): 6fa287a

Fix: upgrade Java 17→21 for Neo4j 2026.x compatibility

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. docker/supervisord.conf +1 -1
Dockerfile CHANGED
@@ -27,8 +27,8 @@ ENV LANG=C.UTF-8
27
 
28
  # ── System dependencies ────────────────────────────────────────────────────────
29
  RUN apt-get update && apt-get install -y --no-install-recommends \
30
- # Java for Neo4j
31
- openjdk-17-jre-headless \
32
  # Python
33
  python3.11 python3-pip python3.11-venv \
34
  # Web / infra
 
27
 
28
  # ── System dependencies ────────────────────────────────────────────────────────
29
  RUN apt-get update && apt-get install -y --no-install-recommends \
30
+ # Java for Neo4j 2026.x (requires Java 21+)
31
+ openjdk-21-jre-headless \
32
  # Python
33
  python3.11 python3-pip python3.11-venv \
34
  # Web / infra
docker/supervisord.conf CHANGED
@@ -16,7 +16,7 @@ serverurl=unix:///tmp/supervisor.sock
16
  # ── Neo4j Community ────────────────────────────────────────────────────────────
17
  [program:neo4j]
18
  command=/opt/neo4j/bin/neo4j console
19
- environment=NEO4J_HOME=/opt/neo4j,JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64,NEO4J_CONF=/opt/neo4j/conf
20
  autostart=true
21
  autorestart=true
22
  startsecs=45
 
16
  # ── Neo4j Community ────────────────────────────────────────────────────────────
17
  [program:neo4j]
18
  command=/opt/neo4j/bin/neo4j console
19
+ environment=NEO4J_HOME=/opt/neo4j,JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64,NEO4J_CONF=/opt/neo4j/conf
20
  autostart=true
21
  autorestart=true
22
  startsecs=45