Comments (10)
Hmm, recommendation here is to use a third party image. Same as how the alpine build is based on a third party image.
I'd like to see alpine removed from the official docker repository and arm64 builds added. That way those interested in using "The easiest, most secure JavaScript runtime" can be steered into using official images that are based only on official images.
from deno_docker.
@zz if you're still interested, I have an ARM64 multi-arch image here: https://github.com/LukeChannings/docker-deno (lukechannings/deno
on DockerHub)
from deno_docker.
+1
It would be great to have official arm64 builds available as the architecture is getting more popular, both for development (recent Macbooks) and for servers (graviton etc).
from deno_docker.
Hey @hayd,
The --platform
argument is for compiling x86/x86_64/aarch64, etc. It won't cross-compile for Windows/Darwin.
I push the artefact to the release so that the deno binary can be downloaded independently, since there is not yet an official aarch64 builds.
Of course, aarch64 builds of 1.7.0 aren't available atm because rusty_v8 isn't available yet and I've had trouble compiling it manually.
from deno_docker.
Any update on this?
from deno_docker.
Wow, that's great @LukeChannings .
So this (more or less) "just works" if you pass the --platform argument? Am I reading that correctly?
Is there a reason to do it like you do (downloading from releases) rather than as a multi-step?
from deno_docker.
Is there any update on this? I need to deploy Deno >= 1.12 in production and I'm having difficulty testing locally on my arm64 machine
from deno_docker.
The --platform argument is for compiling x86/x86_64/aarch64, etc. It won't cross-compile for Windows/Darwin.
I guess I never followed this, does this mean we wouldn't be able to build aarch64 on the denoland's ubuntu-large in CI?
That said, my suspicion is that maintaining arm64 will be much more palatable once there is native support for arm64 in GitHub actions (azure). Until then it's unlikely denoland will be able to maintain it. Though.. I don't speak for the team that is just my hunch.
The latest is that @LukeChannings is still maintaining https://github.com/LukeChannings/deno-arm64
and building arm64 binaries 💪
from deno_docker.
I believe the current best way of handling this is by doing something like:
https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md
from deno_docker.
+1
from deno_docker.
Related Issues (20)
- Release improvements
- Create Alpine/APK package for Deno HOT 9
- Tini warning when building 1.28.1 image HOT 3
- Containers for 1.30.0 have Deno CLI version 1.29.4 HOT 2
- Add release workflow HOT 1
- Cache not caching all deps? HOT 10
- Become a docker verified publisher
- Use Docker official actions
- Document tini HOT 3
- Bash function not working as intended from the documentation
- No tag for 1.36.2 HOT 1
- Permission denied (os error 13) when writing to file from Dockerfile
- Simple express app segfaults in alpine Docker image HOT 2
- Docker sponsorship and/or alternate container registry options HOT 1
- Proposal: Distroless and Alpine image improvements. HOT 3
- Add ARM64 platform to docker images HOT 1
- Alpine ARM64 docker container broken HOT 1
- Latest image (1.40.5) missing unzip HOT 2
- Unable to pull v1.40.5 HOT 2
- Latest image broke nodejs / npm usage (maybe related to libgcc) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno_docker.