The arm64 image is missing in the docker tags
See original GitHub issueHi,
I’d like to be able to run this on a rasberrypi. But there is no arm64 build.
It looks like you are using a cross-compiler for go (xgo). it does have options to add arm64 (--targets=linux/arm64
)
could it be as simple as this? .circleci/config.yml
//...
build:
executor: python
working_directory: ~/offen
environment:
DOCKER_LOGIN: offen
DOCKER_BUILDKIT: '1'
steps:
- checkout
- setup_remote_docker:
version: 20.10.6
- run:
name: Set revision
command: |
if [ -z "$CIRCLE_TAG" ]; then
echo 'export OFFEN_GIT_REVISION=$(git rev-parse --short HEAD)' >> $BASH_ENV
else
echo 'export OFFEN_GIT_REVISION=$CIRCLE_TAG' >> $BASH_ENV
fi
- run:
name: Build binaries
command: |
if [ -z "$CIRCLE_TAG" ] && [ "${CIRCLE_BRANCH}" != "development" ] && [ "${CIRCLE_BRANCH}" != "master" ]; then
make build
else
--- TARGETS=linux/amd64,windows/amd64 make build
+++ TARGETS=linux/amd64,windows/amd64,linux/arm64 make build
# Darwin builds cannot be statically linked right now
# so we override the default LDFLAGS value
TARGETS=darwin/amd64 LDFLAGS='' make build
fi
- persist_to_workspace:
root: ~/offen
paths:
- bin/*
//...
Would love to hear your thoughts on this
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Docker image :latest is missing ARM variants #47676 - GitHub
What happened: The :latest docker tag/image (grafana/grafana / grafana/grafana-oss) is currently only listing linux/amd64 (43c088a2b956).
Read more >The Journey from x86 to ARM - Applying Docker Tags - Bitmovin
When exporting the image, the information about the platform would get lost. So to fix this, I used the <–cache-to> and <–cache-from> arguments ......
Read more >Resolving a Missing Image Tag (Docker Installation)
Check for missing image tags any time that a test fails to run properly on a Private Location. ... From the terminal, run...
Read more >nvidia/cuda-arm64 - Docker Image
The Cuda image tags for centos7 and 8 may be missing on NGC and Docker Hub. Centos upstream images often fail security scans...
Read more >Docker Registry: Newly tagged image can be found, but not ...
Kindly Push the docker image into hub.docker.com for publishing it and then you can pull the image.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes! My pi4 can easily pull a arm64 image now. Thanks for the guidance and the quick responses. They really made this a lot easier 👍
Thanks for the explanation.
I’ll have a look at
docker buildx
in the morning