We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fe3f42 commit f8f7401Copy full SHA for f8f7401
Dockerfile
@@ -6,11 +6,11 @@ ARG MOD_VERSION
6
7
RUN \
8
mkdir -p /root-layer && \
9
- if [[ -z "${MOD_VERSION}" ]]; then \
+ if [ -z "${MOD_VERSION}" ]; then \
10
MOD_VERSION=$(curl -sX GET "https://api.github.com/repos/crowdsecurity/cs-nginx-bouncer/releases/latest" \
11
| jq -r '.tag_name'); \
12
fi && \
13
- if [[ -z ${MOD_VERSION+x} ]]; then \
+ if [ -z ${MOD_VERSION+x} ]; then \
14
echo "**** Could not fetch current bouncer version from Github ****" \
15
exit 1; \
16
0 commit comments