Update entrypoint in dockerfile for vmpooler gem

This commit updates dockerfile entrypoint to remove the explicit
vmpooler executable path. Additionally, CMD is added to run a default
command when runtime parameters are not passed in by the user. Without
this change the vmpooler executable path is hardcoded into a directory
that will not exist.
This commit is contained in:
kirby@puppetlabs.com 2018-07-17 15:46:00 -07:00
parent 67eb05c2f3
commit 7623058ae7
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
set -e
set -- /var/lib/vmpooler/vmpooler "$@"
set -- vmpooler "$@"
exec "$@"