mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
Merge pull request #2934 from alicefr/support_s390_alpine
Add s390x support for linuxkit docker images
This commit is contained in:
commit
78dc9b1156
@ -19,6 +19,10 @@ ifeq ($(ARCH), aarch64)
|
|||||||
DEPS += packages.aarch64
|
DEPS += packages.aarch64
|
||||||
SUFFIX=-arm64
|
SUFFIX=-arm64
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(ARCH), s390x)
|
||||||
|
DEPS += packages.s390x
|
||||||
|
SUFFIX=-s390x
|
||||||
|
endif
|
||||||
|
|
||||||
default: push
|
default: push
|
||||||
|
|
||||||
|
@ -46,7 +46,6 @@ gmp-dev
|
|||||||
gnupg
|
gnupg
|
||||||
go
|
go
|
||||||
grep
|
grep
|
||||||
gummiboot
|
|
||||||
hvtools
|
hvtools
|
||||||
installkernel
|
installkernel
|
||||||
iperf3
|
iperf3
|
||||||
@ -65,7 +64,6 @@ libressl-dev
|
|||||||
libseccomp-dev
|
libseccomp-dev
|
||||||
libtirpc-dev
|
libtirpc-dev
|
||||||
libtool
|
libtool
|
||||||
libunwind-dev
|
|
||||||
linux-headers
|
linux-headers
|
||||||
lsscsi
|
lsscsi
|
||||||
make
|
make
|
||||||
|
@ -1 +1,3 @@
|
|||||||
|
gummiboot
|
||||||
|
libunwind-dev
|
||||||
qemu-system-aarch64
|
qemu-system-aarch64
|
||||||
|
1
tools/alpine/packages.s390x
Normal file
1
tools/alpine/packages.s390x
Normal file
@ -0,0 +1 @@
|
|||||||
|
qemu-system-s390x
|
@ -1,3 +1,5 @@
|
|||||||
|
gummiboot
|
||||||
|
libunwind-dev
|
||||||
open-vm-tools
|
open-vm-tools
|
||||||
ovmf
|
ovmf
|
||||||
syslinux
|
syslinux
|
||||||
|
@ -19,6 +19,7 @@ IMAGE=$2
|
|||||||
|
|
||||||
IMG_X86_64=$(head -1 versions.x86_64 | sed 's,[#| ]*,,')
|
IMG_X86_64=$(head -1 versions.x86_64 | sed 's,[#| ]*,,')
|
||||||
IMG_ARM64=$(head -1 versions.aarch64 | sed 's,[#| ]*,,')
|
IMG_ARM64=$(head -1 versions.aarch64 | sed 's,[#| ]*,,')
|
||||||
|
IMG_s390x=$(head -1 versions.s390x | sed 's,[#| ]*,,')
|
||||||
# Extract the TAG from the x86_64 name and build the manifest target name
|
# Extract the TAG from the x86_64 name and build the manifest target name
|
||||||
TAG=$(echo "$IMG_X86_64" | sed 's,\-.*$,,' | cut -d':' -f2)
|
TAG=$(echo "$IMG_X86_64" | sed 's,\-.*$,,' | cut -d':' -f2)
|
||||||
TARGET="$ORG/$IMAGE:$TAG"
|
TARGET="$ORG/$IMAGE:$TAG"
|
||||||
@ -35,6 +36,10 @@ manifests:
|
|||||||
platform:
|
platform:
|
||||||
architecture: amd64
|
architecture: amd64
|
||||||
os: linux
|
os: linux
|
||||||
|
- image: $IMG_s390x
|
||||||
|
platform:
|
||||||
|
architecture: s390x
|
||||||
|
os: linux
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Work out credentials. On macOS they are needed for manifest-tool and
|
# Work out credentials. On macOS they are needed for manifest-tool and
|
||||||
|
Loading…
Reference in New Issue
Block a user