mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
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:
parent
67eb05c2f3
commit
7623058ae7
2 changed files with 3 additions and 1 deletions
|
|
@ -19,3 +19,5 @@ RUN gem install vmpooler && \
|
|||
chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
||||
CMD ["vmpooler"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue