Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Build Go app in Dockerfile for multi-arch deployments #38

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

Conversation

beny2000
Copy link

@beny2000 beny2000 commented Feb 6, 2025

Adding Go app building to the Dockerfile, which enables multi-architecture builds using buildx. E.g. docker buildx build --platform linux/arm64,linux/amd64 -t y4m4/s3www:latest . --push

I noticed on DockerHub that there are images available for other architectures, but I have not been able to successfully deploy the arm64 build on my Raspberry Pi. Instead, I used this Dockerfile along with buildx to build and deploy the app on my Pi.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant