Skip to content

Commit 4596687

Browse files
committed
fix docker image build
1 parent acce1fd commit 4596687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openig-docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN rm -fr $CATALINA_HOME/webapps/*
1717

1818
RUN apt-get update && apt-get install -y curl unzip \
1919
&& if [ -z "$VERSION" ] ; then VERSION="$(curl -i -o - --silent https://api.github.com/repos/OpenIdentityPlatform/OpenIG/releases/latest | grep -m1 "\"name\"" | cut -d\" -f4)"; fi \
20-
&& if [ ! -f "$CATALINA_HOME/webapps/$OPENAM_PATH.war" ]; curl -L https://github.com/OpenIdentityPlatform/OpenIG/releases/download/$VERSION/OpenIG-$VERSION.war --output $CATALINA_HOME/webapps/ROOT.war; fi \
20+
&& if [ ! -f "$CATALINA_HOME/webapps/$OPENAM_PATH.war" ]; then curl -L https://github.com/OpenIdentityPlatform/OpenIG/releases/download/$VERSION/OpenIG-$VERSION.war --output $CATALINA_HOME/webapps/ROOT.war; fi \
2121
&& useradd -m -r -u 1001 -g root $OPENIG_USER \
2222
&& install -d -o $OPENIG_USER $OPENIG_BASE \
2323
&& chown -R $OPENIG_USER:root $CATALINA_HOME \

0 commit comments

Comments
 (0)