dockerfile: add missing backslashes

This commit is contained in:
Jimmy Zelinskie 2016-06-02 12:37:02 -04:00
parent 2317938bfa
commit aee9aa89a5

View file

@ -43,8 +43,8 @@ RUN venv/bin/pip freeze
# Check python dependencies for the GPL
# Due to the following bug, pip results must be piped to a file before grepping:
# https://github.com/pypa/pip/pull/3304
RUN cat requirements.txt | grep -v "^-e" | awk -F'==' '{print $1}' | xargs venv/bin/pip --disable-pip-version-check show > pipinfo.txt &&
test -z $(cat pipinfo.txt | grep GPL | grep -v LGPL) &&
RUN cat requirements.txt | grep -v "^-e" | awk -F'==' '{print $1}' | xargs venv/bin/pip --disable-pip-version-check show > pipinfo.txt && \
test -z $(cat pipinfo.txt | grep GPL | grep -v LGPL) && \
rm pipinfo.txt
# Install the binary dependencies