Skip to content

Commit

Permalink
Getting started with image intentions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Aug 12, 2016
1 parent aa7b5b5 commit 96a6f4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ RUN yum -y install \
&& rm /etc/httpd/conf.d/userdir.conf \
&& rm /etc/httpd/conf.d/welcome.conf

ONBUILD

COPY httpd-foreground /usr/local/bin/

Expand Down
4 changes: 4 additions & 0 deletions tests/image.bats
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ load ../common
@test "Concludes first-run experience" {
result="$(docker run -i $maintainer/$imagename find /tmp/firsttimerunning)"
[ "$result" != '' ]
}

@test "Contains ONBUILD mechanism" {
grep ONBUILD Dockerfile
}

0 comments on commit 96a6f4c

Please sign in to comment.