Skip to content

Tekton task "func-buildpacks" prepare/results steps use non-multi-arch bash:5.1.4 image, causing exec format errors on ARM64 #2835

@luciantin

Description

@luciantin

When using buildpack to build Go on an ARM64 host, the Tekton "prepare" and "results" steps fail with:

Error executing command: fork/exec /tekton/scripts/script-0-....: exec format error

The problem is the image used for both steps:

image: docker.io/library/bash:5.1.4@sha256:b208215a4655538be652b2769d82e576bc4d0a2bb132144c060efc5be8c3f5d6

image: docker.io/library/bash:5.1.4@sha256:b208215a4655538be652b2769d82e576bc4d0a2bb132144c060efc5be8c3f5d6

After changing both images to the floating tag:

  image: docker.io/library/bash:5.1

buildpack work correctly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions