Git Product home page Git Product logo

Comments (11)

ry avatar ry commented on April 28, 2024 21

We decided not to use docker.

from deno.

beeman avatar beeman commented on April 28, 2024 11

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.

ry avatar ry commented on April 28, 2024 8

@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.

wbgbg avatar wbgbg commented on April 28, 2024 3

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.

hinell avatar hinell commented on April 28, 2024 2

Yeah. Would like to try it on the windows too

from deno.

klintmane avatar klintmane commented on April 28, 2024 1

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.

mknet avatar mknet commented on April 28, 2024 1

Hi @ry, could explain in short why you decided to not use docker?

Thanks and regards
Marcel

from deno.

ry avatar ry commented on April 28, 2024

Yes please!

from deno.

talcarl avatar talcarl commented on April 28, 2024

Yes please, that's good starting point for beginner like me who wants to get involved in the project.

from deno.

mknet avatar mknet commented on April 28, 2024

Thanks, @ry

from deno.

hayd avatar hayd commented on April 28, 2024

I also have Docker files here https://github.com/hayd/deno-docker (hayd/deno).

from deno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.