6 Commits
Author SHA1 Message Date
Oskar Pearson 6a62b63dd7 Docker: don't apt-get install npm
As we're using the node:6.10.0 container as a base, we don't need to install
nodejs or nodejs-legacy or npm any longer.

We do still apply security upgrades, but we don't need to remove the apt cache
since the node:6.10.0 container is based on a container that includes
https://github.com/docker/docker/blob/03e2923e42446dbb830c654d0eec323a0b4ef02a/contrib/mkimage/debootstrap#L82-L105
2017-03-19 23:41:38 +00:00
Oskar Pearson f9c208b54a docker: use nodejs 6.10.0
- Pull Node version from .nvmrc
- Migrate passwords out of .travis.yml
2017-03-19 21:54:06 +00:00
Oskar Pearson 736805ce6d Added DOCKER_USER and DOCKER_PASS for nightscout/cgm-remote-monitor 2017-02-11 02:21:29 +00:00
Oskar Pearson 65428aab7c Build docker images with Travis
- Add Docker hub secrets to Travis
- Push to Docker Hub
- Ignore .git directory and things like coverage logs, so as to minimise
  the container size

I placed the Docker hub login commands in the commands in the .travis.yml file,
rather than in the Makefile. This is because the Makefile would display the
Docker password to stdout, which would then become publically available in the
Travis logs.

I also run `git clean -fd .` and `git checkout -- .` to ensure that anything
written to the repo directory during tests isn't added to the docker container.
I do this in the Travis file rather than the Makefile, since running things with
`make` reverted my changes while experimenting, and I want to save others the
same issue.

To make this work on Travis, we need to set secrets for the DOCKER_USER and
DOCKER_PASS environment variable.
2017-02-11 01:43:09 +00:00
Oskar Pearson 340a38226b Enable Docker in Travis 2017-02-11 00:20:44 +00:00
Oskar PearsonandGitHub 9a9242095a Merge pull request #2376 from jwedding/patch-1
Added note about using the same Amazon account as you use on your Ale…
2016-12-29 01:17:40 +00:00