Skip to content

Conversation

@michaeloffner
Copy link
Contributor

Get jars from maven instead of lucee.org (later is deprecated and will no longer get updates when Lucee 5 LTS period ends).
For them moment i kept a fallback to the old solution in case of an issue, that can be removed in the future.
"light" is not on Maven yet, but i will add it.
"ADD" in dockerfile caused some cache issue, so i switched to "curl".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ADD is usually preferred because it's natively supported by Docker and I think has layer caching benefits. Another reason is that historically some Debian images didn't include curl and so this wouldn't have worked. I'll need to do some testing because my instinct is to continue using ADD.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like a large amount of work to get the Maven URL to download the JAR. Is there any way we can determine the URL without making HTTP requests?

I understand wanting to stop using the cdn.lucee.org bucket if that's extra machinery on the build side to ensure that the file is uploaded. Just wondering if there's an easier way :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants