From 8a9cabf43d748de62b377c4d0c3801843750172a Mon Sep 17 00:00:00 2001 From: Davis Raymond Muro Date: Wed, 4 Nov 2020 12:30:15 +0300 Subject: [PATCH] Silence linting error --- docker/onadata-uwsgi/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/onadata-uwsgi/Dockerfile b/docker/onadata-uwsgi/Dockerfile index dcf3869e18..ed4aaf8094 100644 --- a/docker/onadata-uwsgi/Dockerfile +++ b/docker/onadata-uwsgi/Dockerfile @@ -17,7 +17,8 @@ RUN touch /root/.ssh/known_hosts RUN ssh-keyscan github.com > /root/.ssh/known_hosts # Install optional requirements -RUN if [ ! -z "$optional_packages" ]; then pip install ${optional_packages} ; fi +# hadolint ignore=DL3013 +RUN if [ -n "$optional_packages" ]; then pip install ${optional_packages} ; fi FROM ubuntu:18.04 COPY --from=intermediate /usr/local/lib/python3.6/site-packages/ /usr/local/lib/python3.6/dist-packages/