Use docker for local development#63
Conversation
REPOSITORY TAG IMAGE ID CREATED SIZE
aledbf/deno dev-image-0.1 984c21235687 24 minutes ago 2.91GB |
|
Thanks for doing this! Can you setup TravisCI in your fork to publish to Docker Hub and run test with Docker so we know its working end-to-end? |
| go test -v | ||
|
|
||
|
|
||
| DOCKER_DEV_IMAGE ?= ry/deno:dev-image-0.1 |
There was a problem hiding this comment.
if you become the owner of this image in Docker Hub then can you change the owner? I wish you were using TravisCI TRAVIS_REPO_SLUG instead
There was a problem hiding this comment.
No, this allows you to use custom build and publish that to any repo (maybe a private registry) and only the user ry can push this image to docker hub.
Not sure what's the intention here:
- use a container to run the tests in CI
- publish the docker image
- both
From my use case, I just want a reproducible way to build deno without polluting my machine with all these dependencies.
There was a problem hiding this comment.
Publishing a "dev" image to Dockerhub and using the published image to run the test would be ideal. Thanks to Docker layering it will speed up test runs a lot.
Typically on each release (git tag) on master we want to update the primary docker image in Dockerhub.
b9fe034 to
881a031
Compare
|
Other than the availability of the image for pulling, is there a real reason to involve the registry here? Wouldn't it make sense to just swap out the current build steps with a docker image build step? |
|
@maxmcd TravisCI docs suggests this so you can run multiple test tasks in parallel. |
|
Excuse me, Does this Docker image stable for use since now yet? |
|
@V-Tom I turned my PR #95 into an independent repo: maxmcd/deno-docker The images are a bit smaller and there's a slim build for standalone use. |
|
I'd be interested to know if this can work with the current build? Sorry for coding past this - but it's now out of date and I will close. |
This is the output of the build https://gist.github.com/aledbf/f39189a7e7ea3beff7aee676d85e5c51
After this running
make run <makefile task>we can run any task inside a container:This is similar to https://github.com/ry/deno/pull/16