Skip to content

Commit f8f7401

Browse files
committed
Fix comparison
1 parent 3fe3f42 commit f8f7401

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ ARG MOD_VERSION
66

77
RUN \
88
mkdir -p /root-layer && \
9-
if [[ -z "${MOD_VERSION}" ]]; then \
9+
if [ -z "${MOD_VERSION}" ]; then \
1010
MOD_VERSION=$(curl -sX GET "https://api.github.com/repos/crowdsecurity/cs-nginx-bouncer/releases/latest" \
1111
| jq -r '.tag_name'); \
1212
fi && \
13-
if [[ -z ${MOD_VERSION+x} ]]; then \
13+
if [ -z ${MOD_VERSION+x} ]; then \
1414
echo "**** Could not fetch current bouncer version from Github ****" \
1515
exit 1; \
1616
fi && \

0 commit comments

Comments
 (0)