Skip to content

Commit

Permalink
fixes #99 update the Dockerfile to change the base image (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu committed Dec 19, 2023
1 parent b6039b7 commit 0e7e310
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/Dockerfile-Debug
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM openjdk:11.0.3-slim
# We don't need this image as we can pass the environment variable to any container with JAVA_TOOL_OPTIONS
FROM amazoncorretto:11.0.21
ADD /target/light-proxy.jar server.jar
CMD ["/bin/sh","-c","exec java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 -Dlight-4j-config-dir=/config -Dlogback.configurationFile=/config/logback.xml -jar /server.jar"]
2 changes: 1 addition & 1 deletion docker/Dockerfile-Slim
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM openjdk:11.0.3-slim
FROM amazoncorretto:11.0.21
ADD /target/http-sidecar.jar server.jar
CMD ["/bin/sh","-c","exec java -Dlight-4j-config-dir=/config -Dlogback.configurationFile=/config/logback.xml -jar /server.jar"]

0 comments on commit 0e7e310

Please sign in to comment.