Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem:
The
httpd:2.4
Docker container is now based onboookworm
, which does no longer containopenjdk-11-jre-headless
. Sencha's ant based build tool requires Nashorn to process .xml files containing JavaScript, but Nashorn was removed in JRE15, so building with the current Dockerfile throws an error.Solution(s):
This PR contains 3 commits which all solve the problem in different ways:
httpd:2.4
. Only the first one requires the external source for JRE 11 and the second one simply copies the files under/usr/local/lada
(except for the vhosts file).debian:11-slim
(i.e., bullseye) instead ofhttpd:2.4
. This ensures that the packageopenjdk-11-jre-headless
is still available without external resources.The two intermediate commits are intentionally part of this PR to pinpoint potential issues.