From 336f5815134f97f94aef40ae8ea659d3a28e5928 Mon Sep 17 00:00:00 2001 From: Jim Van Fleet Date: Mon, 19 Sep 2016 15:42:54 -0400 Subject: [PATCH] Updating lineage, expanding tests --- Dockerfile | 2 +- tests/image.bats | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9e23514..3b3f1a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -FROM bigfleet/shibboleth_sp +FROM tier/shibboleth_sp # Define args and set a default value ARG registry=docker.io diff --git a/tests/image.bats b/tests/image.bats index c422091..616708f 100644 --- a/tests/image.bats +++ b/tests/image.bats @@ -19,3 +19,11 @@ load ../common @test "COmanage directory created" { docker run -i $maintainer/$imagename find /opt/comanage/comanage-registry-$version } + +@test "Autoexec firstrun capability detected" { + docker run -i $maintainer/$imagename find /opt/autoexec/bin/firstrun.sh +} + +@test "Autoexec onbuild capability detected" { + docker run -i $maintainer/$imagename find /opt/autoexec/bin/onbuild.sh +}