Files
cameleer-saas/docker/runtime-base/Dockerfile

18 lines
702 B
Docker
Raw Normal View History

# BellSoft Liberica JRE 21 on Alpaquita Linux (glibc, minimal, 199 MB).
# Pin by digest in production overlays.
FROM bellsoft/liberica-runtime-container:jre-21-slim-glibc
WORKDIR /app
# Agent is baked in; log appender is embedded in cameleer-core.
# Tenant JAR is delivered at deploy time by cameleer-runtime-loader
# into the RO-mounted /app/jars volume.
COPY agent.jar /app/agent.jar
# No ENTRYPOINT here. cameleer-server's DeploymentExecutor builds the
# per-runtime-type entrypoint (spring-boot/quarkus: -jar; plain-java:
# -cp + main; native: exec) and overrides via withCmd("sh","-c",...).
# Setting one here only creates drift between this image and the actual
# runtime command.
USER nobody