Skip to content

Commit 98375b3

Browse files
committed
Making hadolint happy
1 parent 0600d4b commit 98375b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

superset/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ RUN microdnf update \
3838
&& microdnf clean all && \
3939
rm -rf /var/cache/yum
4040

41+
# hadolint igonore=DL3042
4142
RUN python3 -m venv /stackable/app \
4243
&& source /stackable/app/bin/activate \
4344
&& pip install \
@@ -71,7 +72,7 @@ RUN python3 -m venv /stackable/app \
7172
--upgrade \
7273
python-json-logger \
7374
cyclonedx-bom \
74-
&& if [ ! -z "$AUTHLIB" ]; then pip install Authlib==${AUTHLIB}; fi
75+
&& if [ -n "$AUTHLIB" ]; then pip install Authlib==${AUTHLIB}; fi
7576

7677
COPY superset/stackable/patches /patches
7778
RUN /patches/apply_patches.sh ${PRODUCT}

0 commit comments

Comments
 (0)