Skip to content

Commit a07bd3b

Browse files
committed
Update Dockerfile
1 parent ce4951f commit a07bd3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openid-connect-provider-debugger/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ RUN apk -U upgrade \
1414
&& apk add \
1515
curl=8.12.1-r0 \
1616
patch=2.7.6-r10 \
17-
&& if [[ $(apk -u list) ]] ; then \
17+
&& if apk -u list | grep -q -e . ; then \
1818
apk -u list ; \
1919
exit 1 ; \
2020
fi \
2121
&& rm -rf /var/cache/apk/*
2222

2323
RUN luarocks install lua-resty-openidc --pin "${LUA_RESTY_OPENIDC_VERSION}" \
24-
&& IFS=$'\n\t' if luarocks list --outdated | grep -q -e '^lua-resty-openidc$' ; then \
24+
&& if luarocks list --outdated | grep -q -e '^lua-resty-openidc$' ; then \
2525
luarocks list --outdated ; \
2626
exit 1 ; \
2727
fi

0 commit comments

Comments
 (0)