Skip to content

Commit

Permalink
Replaces OpenJDK with Oracle JDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Aug 3, 2016
1 parent 4cd3a6b commit 65088d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ RUN yum -y install \

ENV SHIB_RELDIR=http://shibboleth.net/downloads/identity-provider/$VERSION
ENV SHIB_PREFIX=shibboleth-identity-provider-$VERSION
ENV JAVA_HOME /usr/java/latest
ENV PATH $JAVA_HOME/bin:$PATH

RUN mkdir -p /tmp/shibboleth && cd /tmp/shibboleth && \
wget -q https://shibboleth.net/downloads/PGP_KEYS \
Expand Down
5 changes: 5 additions & 0 deletions tests/shibboleth-idp.bats
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ setup() {
[ "$status" -eq 0 ]
}

@test "exports JAVA_HOME" {
result="$(docker run -i $maintainer/$imagename echo $JAVA_HOME)"
[ "$result" != "" ]
}

@test "Defers configuration via ONBUILD" {
run grep ONBUILD Dockerfile
[ "$status" -eq 0 ]
Expand Down

0 comments on commit 65088d4

Please sign in to comment.