46af1154de
apache/spark:3.5.4-scala2.13-java17-ubuntu does not exist on Docker Hub. Oldest available scala2.13 image is 4.0.3. Bump compileOnly deps and Dockerfile base image to match. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
305 B
Docker
10 lines
305 B
Docker
FROM apache/spark:4.0.3-scala2.13-java17-ubuntu
|
|
|
|
USER root
|
|
|
|
# analytics.jar = fat jar containing app code + PostgreSQL JDBC driver + Scala 3 runtime.
|
|
# Spark itself is provided by the base image at /opt/spark — it is NOT included in the jar.
|
|
COPY build/libs/analytics.jar /app/analytics.jar
|
|
|
|
USER spark
|