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

Adapt Dockerfile and build.yml to enable arm64 builds #140

Merged
merged 7 commits into from
Jul 6, 2023

Conversation

rekonnected
Copy link
Contributor

@rekonnected rekonnected commented Oct 30, 2022

The dockerfile is what makes the arm64 image work as long as you build it with --platform linux/amd64,linux/arm64 (if building manually).

The singular change in build.yml tells GH to make both automatically.

I might not have done this in the absolute best/most efficient way, but I think it's pretty clean and it works from my testing.

MitchTalmadge and others added 7 commits June 8, 2022 21:42
Adjustments must be made for portainer to work.
Splitting the dependencies into their own sets made it easier to selectively exclude the srcds dependencies when arch is arm64, since they don't work
This should hopefully enable Github Workflows to automatically build it in multiarch
@rekonnected
Copy link
Contributor Author

@MitchTalmadge have you had a chance to take a look at this?

@rekonnected
Copy link
Contributor Author

@MitchTalmadge It's been 6 months since this was submitted with no acknowledgement or anything, would you be able to look at this please?

@MitchTalmadge
Copy link
Owner

This looks great!! ❤️ I really appreciate the time and effort you put into this, and I sincerely apologize for never getting back to you on it. See #162. I'm merging it into staging and we'll see how it goes!

@MitchTalmadge MitchTalmadge merged commit 395f724 into MitchTalmadge:staging Jul 6, 2023
@MitchTalmadge
Copy link
Owner

The build succeeded! The docker push did not, though. :P I need to tweak the script to handle the different architectures more appropriately.

@rekonnected
Copy link
Contributor Author

Totally understood, no worries. Was just worried the project got completely abandoned which would have been unfortunate given CC's insistence that the whole thing "can't" run in docker alone (which you're sadly very familiar with). Really happy the build itself worked though, this was my first foray into docker image creation/management and I just wanted it to run on an Oracle virtual machine 😅

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