Skip to content
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

Fix: Docker build failing on newer node:lts-alpine3.21 version #1079

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cotton105
Copy link

@cotton105 cotton105 commented Jan 10, 2025

Update the Dockerfile to specifically use the node:lts-alpine3.20 image.

I was having issues building locally, and found that building with the most recent node image release (lts-alpine3.21) does not succeed: docker-build.log

Building was working on one of my machines but not the other, and I realised that the successful build came from the old 3.20 image that I already had on the working machine. The Dockerfile is using the lts-alpine tag, which has been updated upstream to refer to lts-alpine3.21.

I don't know whether it would be preferable to use the newer 3.21 version and fix the dependencies, but pinning to 3.20 has fixed the build on my end. It may be a good idea anyway to pin a specific version, to prevent this from happening again.

Checklist

  • Documentation is changed or added (if applicable)
  • Commit message follows the commit guidelines

Copy link

atlanna bot commented Jan 10, 2025

Thank you for opening this pull request.
A maintainer will get by as soon as practical to review the changes.

@iamtraction iamtraction self-requested a review January 10, 2025 12:07
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.

1 participant