Skip to content

Commit

Permalink
Silence linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisRayM committed Nov 4, 2020
1 parent ff2453f commit 8a9cabf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/onadata-uwsgi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 8a9cabf

Please sign in to comment.