Comments (4)
@martin-g, note that you don't need sudo
on GHA. The runner seems to be in group docker
. See https://github.com/dbhi/docker/blob/master/.github/workflows/push.yml#L67 and https://github.com/dbhi/docker/runs/789862140?check_suite_focus=true#step:3:36.
from qemu-user-static.
HI @zhangyoufu
Thank you for showing the suggestion and the example with GitHub Actions.
Currently, there are following some documents about the images with (Travis) CI.
How can we improve it? The pull-request is welcome.
I think adding your GitHub Actions example to the examples.md
's links improves it.
Do you have a GitHub repository to test multiarch docker image with GitHub Actions CI?
In README.md
,
Please see the example - junaruga/ci-multi-arch-test i386 case on Travis CI.
...
In See Examples & articles.
In examples.md
linked from the "Examples & articles".
junaruga/ci-multi-arch-test and the Travis CI
from qemu-user-static.
FTR, in dbhi/qus, ~15 different procedures to use these resources in CI are explained and tested, both on GitHub Actions and on Travis. See the complete list of tests: https://github.com/dbhi/qus/blob/master/docs/tests.md
For a more straightforward and easier to understand example, in repo dbhi/docker, qus is used to build and publish multiarch/manifest images. See https://github.com/dbhi/docker/blob/master/.github/workflows/push.yml (L44-L45 and L66-L67).
I think it worth mention in README, that Docker Hub and QEMU have different notion of architecture.
This is not only related to Docker and QEMU, but different distributions use different names too. Unlike this repo, where static binaries from Fedora are used, in qus binaries from Debian or Fedora are available. Some architecture names do not match or only a subset is available on one of the distributions. See https://github.com/dbhi/qus/blob/master/run.sh#L66-L116 for a glimpse of what is considered equivalent in the context of qus.
from qemu-user-static.
Here is how I use multiarch/qemu-user-static
on GitHub Actions: https://github.com/martin-g/haproxy/blob/feature/test-aarch64-on-github-actions/.github/workflows/aarch64.yml
and here is on CircleCI: https://github.com/varnishcache/varnish-cache/tree/master/.circleci
from qemu-user-static.
Related Issues (20)
- ldd fails with qemu-aarch64 HOT 6
- Need support for run x86_64 on linux/arm64 HOT 13
- Intermittent exec format error when building linux/arm64 (alpine 3.15+) on amd64 host HOT 1
- speed is slow when use as cross-compile solution HOT 5
- qemu: uncaught target signal 11 (Segmentation fault) - core dumped HOT 1
- Does loong64 and mips/mipsle will be support?
- Where is qemu-$to_arch-static binary files when container whose arch isn't equal to host's one is run? HOT 8
- Undocumented convention: The `--reset` flag must be the first argument
- Mirror docker image to ghcr.io HOT 3
- node.js 16 build on UBI8 is very slow and fails in GH Actions with ECONNRESET and too many open files errors.
- argv[0] can now be automatically fixed
- need to upgrade to support loongarch64 HOT 8
- [Problem] Can I use it in gitlab runner? HOT 4
- iptables-nft not supported in qemu-aarch64-static HOT 6
- Need pinned Alpine Linux versions, e.g., v3.17 HOT 1
- mount: permission denied (are you root?)
- Is this project still active? HOT 1
- armv7 and a page size of 32K
- Have trouble running quemu-static on arm64 with exec format error
- Publish new image with latest busybox
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qemu-user-static.