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

Update Dockerfile for Better Compatibility #838

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

gittrekt
Copy link

Changes to allow easier building for alternate architectures

  • Update image to use node:{version}-alpine
  • Add community repo so openjdk11-jdk can be added
  • Add java_home env for jlink to be found
  • Add sed command to flip download to false

Currently the gradle step that downloads node is only compatible with amd64. These changes will make node part of the base image and flip the download to false allowing for the build to complete on architectures such as ARM64.

Changes to allow easier building for alternate architectures

- Update image to use node:{version}-alpine
- Add community repo so openjdk11-jdk can be added
- Add java_home env for jlink to be found
- Add sed command to flip download to false

Currently the gradle step that downloads node is only compatible with amd64. These changes will make node part of the base image and flip the download to false allowing for the build to complete on architectures such as ARM64.
Copy link
Member

@ohager ohager left a comment

Choose a reason for hiding this comment

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

lgtm

@ohager ohager merged commit 85561be into signum-network:main Oct 21, 2024
1 check passed
@gittrekt gittrekt deleted the patch-2 branch October 21, 2024 12:46
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