Skip to content
This repository has been archived by the owner on Apr 30, 2019. It is now read-only.

Commit

Permalink
improvement: ignore exit codes during docker builds
Browse files Browse the repository at this point in the history
as puppet react with non-zero exit codes on warnings, this may get in the way of building examples and debugging later on. always finish building the image to make it available

Signed-off-by: Dominik Richter <[email protected]>
  • Loading branch information
arlimus committed May 14, 2014
1 parent f925c82 commit 8200f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt-get -y install puppet
ADD . /hardening

# run puppet
RUN puppet apply -v -d --detailed-exitcodes --modulepath=/hardening/modules /hardening/manifests/docker.pp
RUN sh -c 'puppet apply -v -d --detailed-exitcodes --modulepath=/hardening/modules /hardening/manifests/docker.pp; exit 0'

# simple command to get into the box
CMD /bin/bash
Expand Down

0 comments on commit 8200f2d

Please sign in to comment.