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

Multi platform build #13

Closed
wants to merge 4 commits into from
Closed

Multi platform build #13

wants to merge 4 commits into from

Conversation

fwidder
Copy link

@fwidder fwidder commented Jan 12, 2021

I have added a script for building multi-platform images.
This could also be embedded in a CI platform.

It would be cool if you could run the build with "-p true" so I don't have to upload the image to Docker Hub myself ...
If you want, I'd be happy to help you create a CI pipeline for this project. Just get in touch with me.

Many greetings
Florian

Fixes #12

@fwidder fwidder marked this pull request as draft January 12, 2021 15:10
@fwidder fwidder marked this pull request as ready for review January 22, 2021 09:00
@fwidder fwidder mentioned this pull request Jan 22, 2021

FROM python:3.8-alpine
ARG ARCH
COPY qemu-${ARCH}-static* /usr/bin
Copy link
Owner

Choose a reason for hiding this comment

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

This will break the simple use case of checking out the code and running "docker build", for local development. I wonder if there's any solution possible to still support this use case.

rm -rf $tempdir/*
done

trap "exit 1" HUP INT PIPE QUIT TERM
Copy link
Owner

Choose a reason for hiding this comment

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

Don't the trap commands need to be at the top of the file, to be executed first? If you're already at the end of the execution, it seems that the traps are no longer relevant anymore, no?

@alexta69
Copy link
Owner

Done using GitHub actions.

@alexta69 alexta69 closed this Mar 10, 2021
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.

Docker Image for ARM
2 participants