Skip to content

Commit

Permalink
#2628: database.dockerfile, reimplement 'CMD' not 'entrypoint'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed Jul 5, 2016
1 parent 1a7a560 commit a1dbb5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/database.dockerfile
Expand Up @@ -5,4 +5,4 @@ FROM container-default
RUN /opt/puppetlabs/bin/puppet apply /var/machine-learning/puppet/environment/development/manifests/setup_database.pp --modulepath=/var/machine-learning/puppet/environment/development/modules_contrib:/var/machine-learning/puppet/environment/development/modules --confdir=/var/machine-learning/test

## executed everytime container starts
ENTRYPOINT ['sudo service mysql start']
CMD ['sudo', 'service', 'mysql', 'start']

0 comments on commit a1dbb5e

Please sign in to comment.