Fix license test in Dockerfile
This commit is contained in:
parent
d1ba2dcfc3
commit
d4ee938a5d
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ COPY requirements.txt requirements-tests.txt ./
|
|||
# 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) && \
|
||||
test -z "$(cat pipinfo.txt | grep GPL | grep -v LGPL)" && \
|
||||
rm pipinfo.txt
|
||||
|
||||
RUN virtualenv --distribute venv \
|
||||
|
@ -57,4 +57,4 @@ RUN PYTHONPATH=$QUAYPATH venv/bin/alembic heads | grep -E '^[0-9a-f]+ \(head\)$'
|
|||
|
||||
RUN ./scripts/detect-config.sh
|
||||
|
||||
CMD ./quay-entrypoint.sh
|
||||
CMD ./quay-entrypoint.sh
|
||||
|
|
Reference in a new issue