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)
- ext/node: script exits when it shouldn't HOT 2
- node:module register is not a function HOT 1
- `@deno-types` does not work with `async import()` HOT 2
- `@deno-types` does not work with `async import()` HOT 2
- DENO_FUTURE=1 should remove deprecated TypeScript types HOT 2
- Lockfile v4
- `deno add` - Failed updating config file due to no object
- `deno add` - support `http:` and `https:` specifiers HOT 5
- Using `deno add` then importing dep in jupyter notebook does not take new deno.json into account
- deno.jsonc isn't used for checking JSX element HOT 5
- Measure impact of snapshot using `--serialization-statistics` HOT 1
- Network services should preferentially bind to IPv4
- SSE no events sent when server is running HOT 1
- Deno crashes on startup within container HOT 3
- Consider asynchronously caching statically analyzable dynamic imports in the background for `deno run` instead of up front
- Support TLS SNI on listenTls and serve
- suggestion: undeprecate `--unstable` flag
- Getting different output in local CLI and Deno Deploy HOT 3
- Misleading recommendation for permissions when using compiled binary
- Deno read and write permission flags not work on Deno compile with Deno KV
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.