-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
The cfssl/cfssl:latest image is currently available for arm64, but the base image appears to be amd64. This causes issues when trying to run multiple cfssl commands with bash.
Steps to reproduce
On an arm64 host:
docker run --entrypoint bash cfssl/cfssl:latest
docker run cfssl/cfssl:latestThe first command failes with exec /bin/bash: exec format error. The second command runs as expected.
On an amd64 host
docker run --platform linux/arm64 --entrypoint bash cfssl/cfssl:latest
docker run --platform linux/arm64 cfssl/cfssl:latest
In this case the fist command runs successfully but the second case produces exec /bin/bash: exec format error - showing that there are tools with different architectures in the pod.
The solution to this is - I believe - to use a base image that matches the architecture of the target platform.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels