Closed sindresorhus closed 9 years ago
Thats such a rad idea! It'd be great to separate couchdb and the registry code from the image… but otherwise :thumbsup:
:thumbsup:
Sorry to seem like an idiot. I'm new to Docker and just curious about what this issue actually is trying to solve?
You want people to be able to set up the bower/registry in a docker container for development purpose?
+1 we want this in-house ;)
@razic Precisely. Docker is fast becoming a convenient and easy way to do development as well as deployment of small-scale to large-scale applications and workflows :)
If someone wants to make the first strike on this, I'd be happy to review and get it out the door—
This sounds awesome. I'm not familiar w/ Docker, but b/c we're on Heroku, I'm happy to investigate if we can make this new feature work. My concerns are env vars & db replication. https://blog.heroku.com/archives/2014/8/7/heroku-button
At Yelp we have our bower registry running inside docker. We use Jenkins to test our docker'd registry. My biggest concern for the upstream project is CI integration. Travis does not support docker (yet), It might be a good idea to get something working under test upfront. Anyone have experience with shippable (https://www.shippable.com/) for docker?
Hi there, I was trying to setup a docker with bower for development purposes, but there are some problems concerning the ownership... the big problem is that if you are using user "A" in your machine and use this docker with a VOLUME that points to your project, and the docker-bower runs with user "root", you won't be able to edit the files as user "A" in your machine, since the files generated in the docker will only be editable as "root", and that's kind of lame =/
If anyone has an idea of how to set a bower docker for development it would be very awsome =D
Registry setup is now easier. Only PostgreSQL installed is necessary: https://github.com/bower/registry/commit/66e074a506c18be83ae3533c9a59dd11b54ba5e4
This means Dockerfile is no longer needed :) Closing.
When the rewrite is done it would be nice to have a Docker image so it's super easy to get set up. A lot of people use Bower inside their companies.
Relevant: https://github.com/terinjokes/docker-npmjs