Add support for s390x architecture - method 1 by sdarwin · Pull Request #45 · drone/drone-git · GitHub
Skip to content

Add support for s390x architecture - method 1#45

Open
sdarwin wants to merge 1 commit into
drone:masterfrom
sdarwin:s390x-method1
Open

Add support for s390x architecture - method 1#45
sdarwin wants to merge 1 commit into
drone:masterfrom
sdarwin:s390x-method1

Conversation

@sdarwin

@sdarwin sdarwin commented Jun 28, 2022

Copy link
Copy Markdown

If you attempt to run a drone job on s390x architecture, it uses the docker image from https://hub.docker.com/r/drone/git which includes arm64 and windows however s390x is missing.

There are multiple solutions:
method 1. Leverage the docker image from thegeeklab
method 2. Run buildx on a vm
method 3. Rewrite everything to use buildx instead of manifest files. Won't explore this for now.

Probably method 1 is the simplest and easiest. That's in this PR. Method 2 is also viable and I will send it as a different pull request. Choose one or the other, not both.

I have tested both of these methods, and they work fine. Optionally, if you'd like to test the results, cloud.ibm.com offers instances at hourly rates so it's not difficult to launch an s390x virtual machine and try out the resulting docker image.

@sdarwin

sdarwin commented Aug 19, 2022

Copy link
Copy Markdown
Author

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.

1 participant