Robert Helmer
Robert Helmer
I don't see how the sockethub code is getting into the docker container, I think you need an `ADD` command for that. Also, I had some trouble with the dependencies...
Also I think you probably want `CMD` not `RUN` for actually running sockethub, since you want this to happen when somebody pulls a fresh image not just when the image...
Think I caught the `npm` error that time: ``` ERR! [email protected] install: `node-gyp rebuild` npm ERR! Exit status 1 Failed at the [email protected] install script. This is most likely a...
@silverbucket yep that works thanks, I've added those deps to Dockerfile and everything works, except that redis isn't running. Docker can only run a single default command when a container...
OK! This works: ``` FROM ubuntu:precise RUN echo "deb http://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list RUN apt-get update RUN apt-get install -y python-software-properties python g++ make redis-server libicu-dev RUN add-apt-repository ppa:chris-lea/node.js...
Well really what you want to do is: ``` docker build -t sockethub/sockethub ``` Then push that up to the Docker index, and actual users can simply do e.g.: ```...
@silverbucket you can use `EXPOSE` commands in the Dockerfile, and the image will automatically port-forward whatever public ports you want out. RE: TLS cert, I would do SSL termination on...
That said, you can override the config.js if you want to, just set it up the way you want before doing `docker build .` Keep in mind that the norm...
@silverbucket cool, in that case I'd just add something like this to the Dockerfile: `EXPOSE 10550` Docker users should be able to figure it out from there, although couldn't hurt...
BTW, I just noticed there's a way to build and upload Docker images to the index automatically from github now, might make your release process easier: http://blog.docker.io/2013/11/introducing-trusted-builds/