Commit graph

5 commits

Author SHA1 Message Date
kirby@puppetlabs.com
9b8b35395d Add dockerfile without redis
This commit adds a dockerfile to install vmpooler without a local redis installation. Without this change the dockerfile provided assumes a local redis instance will be running. The dockerfile with redis is retained as 'Dockerfile-aio'. Additionally, the directory '/var/log/vmpooler' is no longer created since vmpooler uses '/var/log/vmpooler.log'.
2018-05-30 12:19:05 -07:00
dea5c4e962
Updated Dockerfile
Set to use a newer JRuby
Added an environment variable for the log file location
Changed entrypoint to cmd to add flexibility
Added missing trailing slash to copy command path
2017-06-12 13:27:36 -07:00
Scott Schneider
d85f84011f Add instructions for running in a Docker container 2016-12-20 10:54:09 -08:00
Scott Schneider
833e34ce37 Update Dockerfile to move Gemflie*
...instead of Gemfile and Gemfile.lock (if it exists) individually
2016-12-20 10:45:36 -08:00
Scott Schneider
c5aedc12cb Add an all-in-one Dockerfile
Built off the [jruby](https://hub.docker.com/_/jruby/) `Dockerfile`,
it installs gem requirements via `bundler`, installs and runs a
`redis-server`, imports the current working directory, starts
`vmpooler`, and tails the logfile.

Creating a `vmpooler.yaml` configuration file in the current working
directory and running the following provides a development environment:

```
docker build -t vmpooler . && docker run -p 80:4567 -it vmpooler
```
2016-11-19 09:54:42 -08:00