Closed vini-nu closed 1 year ago
This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed after being inactive for 30 days. If you require further assistance please reopen the issue with more details or talk to us on discord
There is very easy way to add RPI4 support:
Instead of
docker build -t mygroup/myimage:latest -f ./Dockerfile .
docker push mygroup/myimage:latest
You could use:
docker buildx create --use
docker buildx build --platform=linux/amd64,linux/arm64 --push -t mygroup/myimage:latest -t mygroup/myimage:MAJOR.MINOR.PATCH -f ./Dockerfile .
This image will be pushed with both architectures. Meaning that in amd64 and arm64 the same image tag and scripts can be used.
Yes, that simple.
Of course base image needs to be rebuilt with buildx too.
Thank you!