diff --git a/Dockerfile b/Dockerfile index 91ebc94..a8c98cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,6 @@ FROM bigfleet/shibboleth_idp ARG maintainer=tier ARG imagename=shibboleth_idp ARG version=3.2.1 -ENV VERSION=$version \ No newline at end of file +ENV VERSION=$version + +RUN chown -R root:root /opt/shibboleth/shibboleth-identity-provider-$version \ No newline at end of file diff --git a/tests/image.bats b/tests/image.bats index 4f0ce20..5cd7405 100644 --- a/tests/image.bats +++ b/tests/image.bats @@ -24,5 +24,4 @@ setup() { @test "Logs directory exists, owned by root" { result="$(docker run -i $maintainer/$imagename stat -c '%U' /opt/shibboleth/current/logs)" [ "$result" != 'UNKNOWN' ] - [ "$status" -eq 0 ] }