mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-08 17:42:56 +01:00
Try to compile ARM64 by pushing newest qemu user
This commit is contained in:
parent
47097cdd06
commit
3121cbeb2e
3 changed files with 11 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
stage: custom
|
||||
needs: []
|
||||
script:
|
||||
- ./scripts/register-binfmt
|
||||
- ./scripts/lib/custom-docker-build
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ gitlab:
|
|||
parallel:
|
||||
matrix:
|
||||
- DEBIAN: ['bullseye']
|
||||
ARCH: ['arm64', 'amd64']
|
||||
RUBY: ['2.7.patched', '3.0.patched']
|
||||
GIT: ['2.36']
|
||||
POSTGRESQL: ['11', '12', '13']
|
||||
|
|
|
|||
9
scripts/register-binfmt
Executable file
9
scripts/register-binfmt
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
ls -al /proc/sys/fs/binfmt_misc
|
||||
|
||||
echo -1 > /proc/sys/fs/binfmt_misc/qemu-aarch64 || true
|
||||
|
||||
apk add -U qemu-aarch64
|
||||
|
||||
echo ":qemu-aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-aarch64:OCF" > /proc/sys/fs/binfmt_misc/register
|
||||
Loading…
Add table
Add a link
Reference in a new issue