Skip to content

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

Merged
merged 13 commits into from
Jun 5, 2025
Merged

Conversation

haarg
Copy link
Member

@haarg 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

@haarg haarg force-pushed the haarg/docker-and-actions-updates branch 3 times, most recently from 9429c35 to 5e3472f Compare June 2, 2025 23:58
@haarg haarg enabled auto-merge June 3, 2025 00:04
@haarg haarg requested review from oalders and ssoriche June 3, 2025 18:44
@oalders oalders force-pushed the haarg/docker-and-actions-updates branch from 5e3472f to f06bae1 Compare June 4, 2025 21:47
@@ -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
Copy link
Member

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. 😢

oalders
oalders previously approved these changes Jun 4, 2025
Copy link
Member

@oalders oalders left a 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. 👍🏻

haarg added 13 commits June 5, 2025 09:22
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.
@haarg haarg force-pushed the haarg/docker-and-actions-updates branch from f06bae1 to ab6d690 Compare June 5, 2025 07:24
@haarg haarg added this pull request to the merge queue Jun 5, 2025
Merged via the queue into master with commit da9c6dc Jun 5, 2025
11 checks passed
@haarg haarg deleted the haarg/docker-and-actions-updates branch June 5, 2025 13:35
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.

2 participants