lib/percheron/actions/create.rb in percheron-0.6.1 vs lib/percheron/actions/create.rb in percheron-0.6.2
- old
+ new
@@ -62,10 +62,10 @@
def create!(opts)
$logger.debug "Container '#{container.name}' does not exist, creating"
build_image!
insert_scripts!
create_container!(opts.fetch(:create, {}))
- execute_post_create_scripts!
+ execute_post_create_scripts! unless container.post_create_scripts.empty?
set_dockerfile_md5!
end
def build_image!
unless container.image_exists?