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

Image for s390x #1665

Closed
denzs opened this issue Jun 7, 2021 · 2 comments
Closed

Image for s390x #1665

denzs opened this issue Jun 7, 2021 · 2 comments

Comments

@denzs
Copy link

denzs commented Jun 7, 2021

We would like to use kaniko to build docker images for s390x.
As there is no image availiable and using selfmade images is unsupported, it would be great if you could supply a kaniko image for other architectures like s390x too..

@SriramaSharma
Copy link

The support for s390x was already introduced as part of v1.5.0 release notes specifically as part of Add s390x kaniko build to multi-arch list #1475. However the recent release doesn't include s390x in the manifest. So I believe it's just matter of getting the s390x build and publishing the images.

Adding @tejal29 and @barthy1 who had earlier worked on the s390x support PR #1475 , to get their suggestions / thoughts on how to proceed further to get official images published for s390x.

kun-lu20 added a commit to linux-on-ibm-z/kaniko that referenced this issue Sep 23, 2021
1. add s390x support to docker images `executor`, `executor(slim)`,
   `executor(debug)` and `warmer`. Fixes GoogleContainerTools#1462 and GoogleContainerTools#1665.

2. Address the building issue of dependency `docker-credential-gcr`
   in Dockerfiles. This issue was introduced when recent commits
   in `docker-credential-gcr` removed the Makefile.

Signed-off-by: Kun-Lu <kun.lu@ibm.com>
tejal29 pushed a commit to tejal29/kaniko that referenced this issue Oct 19, 2021
1. add s390x support to docker images `executor`, `executor(slim)`,
   `executor(debug)` and `warmer`. Fixes GoogleContainerTools#1462 and GoogleContainerTools#1665.

2. Address the building issue of dependency `docker-credential-gcr`
   in Dockerfiles. This issue was introduced when recent commits
   in `docker-credential-gcr` removed the Makefile.

Signed-off-by: Kun-Lu <kun.lu@ibm.com>
tejal29 added a commit that referenced this issue Oct 19, 2021
1. add s390x support to docker images `executor`, `executor(slim)`,
   `executor(debug)` and `warmer`. Fixes #1462 and #1665.

2. Address the building issue of dependency `docker-credential-gcr`
   in Dockerfiles. This issue was introduced when recent commits
   in `docker-credential-gcr` removed the Makefile.

Signed-off-by: Kun-Lu <kun.lu@ibm.com>

Co-authored-by: Kun-Lu <kun.lu@ibm.com>
imjasonh pushed a commit that referenced this issue Jan 6, 2022
* Add s390x support to docker images

1. add s390x support to docker images `executor`, `executor(slim)`,
   `executor(debug)` and `warmer`. Fixes #1462 and #1665.

2. Address the building issue of dependency `docker-credential-gcr`
   in Dockerfiles. This issue was introduced when recent commits
   in `docker-credential-gcr` removed the Makefile.

Signed-off-by: Kun-Lu <kun.lu@ibm.com>

* Add s390x support to all images except debug image

* Add s390x support to images.yaml

* Fix ld64.so.1 not found issue on s390x

* Add a comment for copying /lib from busybox container on s390x
@aaron-prindle
Copy link
Collaborator

s390x kaniko images are released now for kaniko releases after #1749 :

You can see the s390x image in the manifest output for the gcr.io/kaniko-project/executor:latest image below

aprindle@aprindle-ssd ~/go-containerregistry  [fix-1646]regctl manifest get gcr.io/kaniko-project/executor:latest
Name:                            gcr.io/kaniko-project/executor:latest
MediaType:                       application/vnd.oci.image.index.v1+json
Digest:                          sha256:85e25c341a96f25db9c806087f05eb096f6550917a78fcf2879e895889ea4e48
                                 
Manifests:                       
                                 
  Name:                          gcr.io/kaniko-project/executor:latest@sha256:44a4b1d45a8d6cb4ec8fe0d8a6b6ac1634fd7c706ddefddf6bb369cca6181ccc
  Digest:                        sha256:44a4b1d45a8d6cb4ec8fe0d8a6b6ac1634fd7c706ddefddf6bb369cca6181ccc
  MediaType:                     application/vnd.oci.image.manifest.v1+json
  Platform:                      linux/amd64
                                 
  Name:                          gcr.io/kaniko-project/executor:latest@sha256:215b26e634ca5590112c7ef1682d8877b4f076902c85cd068a140a9ec353e4e1
  Digest:                        sha256:215b26e634ca5590112c7ef1682d8877b4f076902c85cd068a140a9ec353e4e1
  MediaType:                     application/vnd.oci.image.manifest.v1+json
  Platform:                      linux/arm64
                                 
  Name:                          gcr.io/kaniko-project/executor:latest@sha256:2dd7ca5a89ffd12df150451f3e9cc2b070b73cd169eccc8f7133c9a1e4d98187
  Digest:                        sha256:2dd7ca5a89ffd12df150451f3e9cc2b070b73cd169eccc8f7133c9a1e4d98187
  MediaType:                     application/vnd.oci.image.manifest.v1+json
  Platform:                      linux/s390x
                                 
  Name:                          gcr.io/kaniko-project/executor:latest@sha256:2c3ae114396e358d6d2517188d3897ce6e40620948996266868f955b383625a7
  Digest:                        sha256:2c3ae114396e358d6d2517188d3897ce6e40620948996266868f955b383625a7
  MediaType:                     application/vnd.oci.image.manifest.v1+json
  Platform:                      linux/ppc64le
                                 
  Name:                          gcr.io/kaniko-project/executor:latest@sha256:59de2b8d40eaa40d8da8922a2e6b9066beb246c29bd988eea1b0c736d6573f5c
  Digest:                        sha256:59de2b8d40eaa40d8da8922a2e6b9066beb246c29bd988eea1b0c736d6573f5c
  MediaType:                     application/vnd.oci.image.manifest.v1+json
  Platform:                      unknown/unknown
  Annotations:                   
    vnd.docker.reference.digest: sha256:44a4b1d45a8d6cb4ec8fe0d8a6b6ac1634fd7c706ddefddf6bb369cca6181ccc
    vnd.docker.reference.type:   attestation-manifest
                                 
  Name:                          gcr.io/kaniko-project/executor:latest@sha256:4aaf03c797a0ff959663138aa43807d561f28b971246c4e31bed35a98c631282
  Digest:                        sha256:4aaf03c797a0ff959663138aa43807d561f28b971246c4e31bed35a98c631282
  MediaType:                     application/vnd.oci.image.manifest.v1+json
  Platform:                      unknown/unknown
  Annotations:                   
    vnd.docker.reference.type:   attestation-manifest
    vnd.docker.reference.digest: sha256:215b26e634ca5590112c7ef1682d8877b4f076902c85cd068a140a9ec353e4e1
                                 
  Name:                          gcr.io/kaniko-project/executor:latest@sha256:b6606586ecb1e7abc9309d2d5556ef9f4feb06219a9bcaa4d29bc3e3d2adf348
  Digest:                        sha256:b6606586ecb1e7abc9309d2d5556ef9f4feb06219a9bcaa4d29bc3e3d2adf348
  MediaType:                     application/vnd.oci.image.manifest.v1+json
  Platform:                      unknown/unknown
  Annotations:                   
    vnd.docker.reference.type:   attestation-manifest
    vnd.docker.reference.digest: sha256:2dd7ca5a89ffd12df150451f3e9cc2b070b73cd169eccc8f7133c9a1e4d98187
                                 
  Name:                          gcr.io/kaniko-project/executor:latest@sha256:d134ace0608d85405f8075ae4b1823bbda18f746cdf54a93ab9726253a6a2fc3
  Digest:                        sha256:d134ace0608d85405f8075ae4b1823bbda18f746cdf54a93ab9726253a6a2fc3
  MediaType:                     application/vnd.oci.image.manifest.v1+json
  Platform:                      unknown/unknown
  Annotations:                   
    vnd.docker.reference.digest: sha256:2c3ae114396e358d6d2517188d3897ce6e40620948996266868f955b383625a7
    vnd.docker.reference.type:   attestation-manifest

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

No branches or pull requests

3 participants