3.0.2-arm64 Docker build broken?
See original GitHub issueI believe that the 3.0.2-arm64 Docker build is broken. I am running this on a Raspberry Pi4 using 64-bit Ubuntu.
When I try to to run the container, I get the following error:
$ docker run -it codercom/code-server:3.0.2-arm64
/usr/local/bin/fixuid: 2: /usr/local/bin/fixuid: Syntax error: word unexpected (expecting ")")
To check into this a bit further, I built a test Dockerfile based on codercom/code-server:3.0.2-arm64
that is just this:
FROM codercom/code-server:3.0.2-arm64
RUN sudo apt-get update; sudo apt-get install -y file
ENTRYPOINT file /usr/local/bin/fixuid
When I run this container, I get this message:
/usr/local/bin/fixuid: setuid ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=2zxEqkKfJJwnveNVKDuQ/1ZwU6fMfvcIshc5qwXRB/xOrQ0MI5H54iHr712aDz/hF8w_99k9vhIr1ncU3Pq, with debug_info, not stripped
This leads me to think that the binary that got loaded into the arm64 Docker container is actually an x86-64 binary. Or am I doing something wrong?
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
3.0.2-arm64 Docker build broken? · Issue #1505 - GitHub
I believe that the 3.0.2-arm64 Docker build is broken. I am running this on a Raspberry Pi4 using 64-bit Ubuntu.
Read more >Why new Macs break your Docker build, and how to fix it
New Macs can break your Docker image build in unexpected ways; learn why, and how to fix it.
Read more >docker build - Docker Documentation
The docker build command builds Docker images from a Dockerfile and a “context”. A build's context is the set of files located in...
Read more >Understanding Docker Build Args, Environment Variables and ...
An overview of ways to set and use variables when building images, starting containers and using docker-compose.
Read more >Use kaniko to build Docker images - GitLab Docs
kaniko is a tool to build container images from a Dockerfile, inside a container or Kubernetes cluster. kaniko solves two problems with using...
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
I revamped the
fixuid
CI & release process in https://github.com/boxboat/fixuid/pull/25, if you need any more arch released it should be real easy going forward!Negative, we need to build fixuid in the CI for arm64 or perhaps better would be to submit a PR to fixuid so they can have arm64 builds.