added automatic classpath loading and JAVA_CLASS envvar usage

This commit is contained in:
2021-03-16 11:50:31 -04:00
parent 1d67774fba
commit bc6f05b1f8
2 changed files with 9 additions and 5 deletions

View File

@@ -4,6 +4,7 @@ FROM ubuntu:${ubuntu.version}
# Configure standard JAVA parameters
ENV JAVA_MEMORY_INIT=128m
ENV JAVA_MEMORY_MAX=512m
ENV JAVA_HOME=/usr/local/lib/jvm/java-openjdk-dcevm
ENV JAVA_OPTS=
# Install curl
@@ -37,6 +38,3 @@ EXPOSE 8000
# Execute the Docker container initialization script
ENTRYPOINT [ "/usr/local/bin/docker-entrypoint.sh" ]
# Do nothing meaningful; made to be overridden
CMD [ "-version" ]