Comments (11)
We decided not to use docker.
from deno.
I made a small playground with some examples that allows you to run scripts with deno
using Docker.
It uses the deno-docker container created by @maxmcd.
from deno.
@mknet Yes, sorry for not doing it above. We want to support reproducible builds on major platforms: linux, windows, and mac. This necessitates a more sophisticated way of managing build dependencies than a Dockerfile - we use Chrome's build system gn for this. Although it wouldn't be much work to add a Dockerfile, it would be something we have to maintain in parallel to our normal build - which is unnecessary overhead at this stage. Our travis CI setup is relatively complicated, and would add Docker if it replaced that complication... but I don't think anyone has gotten it working in a way that satisfies our requirements. In particular, clean builds of Deno take on the order of 1 hour - we have a hard requirement on supporting fast incremental builds thru caching of some sort.
from deno.
The compile instructions works like a charm for me on Mac except the lack of pkg-config. Afterbrew install pkg-config
the compile success.
from deno.
Yeah. Would like to try it on the windows too
from deno.
Published a small npm package/wrapper for this at srcode-org/deno-run.
It will expose a deno command which when run will create a docker container from deno-docker, mount the cwd to the container and execute the given command (like you would normally run node).
Just make sure you have Docker installed first.
from deno.
Hi @ry, could explain in short why you decided to not use docker?
Thanks and regards
Marcel
from deno.
Yes please!
from deno.
Yes please, that's good starting point for beginner like me who wants to get involved in the project.
from deno.
Thanks, @ry
from deno.
I also have Docker files here https://github.com/hayd/deno-docker (hayd/deno).
from deno.
Related Issues (20)
- `node:wasi` fails during module resolution
- Finalization not working HOT 5
- Regression in `Deno.serve` when both `cert` and `key` are `undefined`
- Building a Deno.Kv backend in LMDB HOT 1
- Importing certain JSRs will not work with deno compile HOT 2
- Panic when passing wildcard to allow-net HOT 3
- Deno crashes (not a rust panic), when debugging a specific piece of code
- Drop Typescript
- Deno has panicked during upgrade on MacOS
- release v.1.43.0 missing assets HOT 1
- [node:worker_threads] The behavior of `MessagePort.on()` differs between Deno and Node.js
- node:fs/promises watcher polyfill is not AsyncIterable
- Tracking issue for using WebGPU to render on the window of the desktop environment HOT 3
- [node:worker_threads] `MessagePort` is lacking methods `off` and `removeListener`
- Support deno lockfile in projects with only `package.json`
- Cannot start inspector server: Os { code: 10048, kind: AddrInUse, message: "Only one usage of each socket address (protocol/network address/port) is normally permitted." } HOT 1
- Uncaught Error: Not implemented: udp.UDP.prototype.unref
- WebGPU: Implement copyExternalImageToTexture HOT 1
- Deno using memory even when i;m not running a file with deno
- Deno should make simultaneous outgoing requests to IPv4 and IPv6 addresses when both exist HOT 3
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.