-
Notifications
You must be signed in to change notification settings - Fork 236
Docker and GitHub Action updates #3373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
haarg
commented
Jun 2, 2025
- smaller image for asset building
- use timestamp tags for metacpan-base rather than latest
- add dependabot updates for docker
- support slim builds (about 1/3 the size)
- various other small changes
9429c35
to
5e3472f
Compare
5e3472f
to
f06bae1
Compare
.github/workflows/test.yml
Outdated
@@ -77,7 +77,7 @@ jobs: | |||
load: true | |||
- name: Run Perl tests | |||
run: > | |||
docker run -d -i -p 8000:80 | |||
docker run -d -i -p 8000:8000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these may need to be changed to 5001
? I just merged that change to the port number. 😢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the issue with s/8000/5001/ that may need to be addressed.
Thank you for the descriptive commit messages. 👍🏻
Using a separate build stage allows Docker to cache the build results separately from the rest of the build. It also can allow the CPAN building and the main server image to use separate base images.
Slim builds don't incude a compiler or other development tools. The tag name of the slim build may not match the non-slim build exactly, so we need to list both. Installing the CPAN prereqs still needs the non-slim build.
Catalyst no longer warns about Term::Size::Any being missing if COLUMNS is set.
f06bae1
to
ab6d690
Compare