From 69c6fd9b7212e4e7b4187c4af5f1492183212d0e Mon Sep 17 00:00:00 2001 From: Jan Dobes Date: Wed, 13 May 2020 12:18:19 +0200 Subject: [PATCH] chore: pipenv check workaround https://github.com/pypa/pipenv/issues/4188 PIPENV_PYUP_API_KEY= can be removed when pipenv-2020.X.X is released --- Dockerfile.test | 1 + reposcan/Dockerfile | 1 + webapp/Dockerfile | 1 + webapp/Dockerfile-qe | 1 + webapp_utils/Dockerfile | 1 + websocket/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile.test b/Dockerfile.test index 37652b5d3..3ae184ce1 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -30,6 +30,7 @@ ADD /common/*.py /vmaas/webapp_utils/common/ ENV LC_ALL=C.utf8 ENV LANG=C.utf8 ARG PIPENV_CHECK=1 +ARG PIPENV_PYUP_API_KEY="" RUN cd /vmaas/webapp && pipenv install --ignore-pipfile --deploy --dev && \ if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check ; fi && \ cd /vmaas/reposcan && pipenv install --ignore-pipfile --deploy --dev && \ diff --git a/reposcan/Dockerfile b/reposcan/Dockerfile index 17ec3528b..497f50761 100644 --- a/reposcan/Dockerfile +++ b/reposcan/Dockerfile @@ -23,6 +23,7 @@ ADD /reposcan/Pipfile* /reposcan/ ENV LC_ALL=C.utf8 ENV LANG=C.utf8 ARG PIPENV_CHECK=1 +ARG PIPENV_PYUP_API_KEY="" RUN pip3 install --upgrade pipenv && \ pipenv install --ignore-pipfile --deploy --system && ln -s /usr/bin/python3 /usr/bin/python && \ if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi diff --git a/webapp/Dockerfile b/webapp/Dockerfile index 435cc49d7..1c6dd0dd3 100644 --- a/webapp/Dockerfile +++ b/webapp/Dockerfile @@ -13,6 +13,7 @@ ADD /webapp/Pipfile* /webapp/ ENV LC_ALL=C.utf8 ENV LANG=C.utf8 ARG PIPENV_CHECK=1 +ARG PIPENV_PYUP_API_KEY="" RUN pip3 install --upgrade pipenv && \ pipenv install --ignore-pipfile --deploy --system && ln -s /usr/bin/python3 /usr/bin/python && \ if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi diff --git a/webapp/Dockerfile-qe b/webapp/Dockerfile-qe index 47bc90efe..6371494be 100644 --- a/webapp/Dockerfile-qe +++ b/webapp/Dockerfile-qe @@ -9,6 +9,7 @@ ADD /webapp/Pipfile* /webapp/ ENV LC_ALL=C.utf8 ENV LANG=C.utf8 ENV PIPENV_CHECK=1 +ARG PIPENV_PYUP_API_KEY="" RUN pip3 install --upgrade pipenv && \ cd /webapp && pipenv install --ignore-pipfile --deploy --system --dev && ln -s /usr/bin/python3 /usr/bin/python && \ if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi diff --git a/webapp_utils/Dockerfile b/webapp_utils/Dockerfile index a04591389..dfa8794a2 100644 --- a/webapp_utils/Dockerfile +++ b/webapp_utils/Dockerfile @@ -13,6 +13,7 @@ ADD /webapp_utils/Pipfile* /webapp_utils/ ENV LC_ALL=C.utf8 ENV LANG=C.utf8 ARG PIPENV_CHECK=1 +ARG PIPENV_PYUP_API_KEY="" RUN pip3 install --upgrade pipenv && \ pipenv install --ignore-pipfile --deploy --system && ln -s /usr/bin/python3 /usr/bin/python && \ if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi diff --git a/websocket/Dockerfile b/websocket/Dockerfile index 7c0cdb0ce..d7deea342 100644 --- a/websocket/Dockerfile +++ b/websocket/Dockerfile @@ -13,7 +13,7 @@ ADD /websocket/Pipfile* /websocket/ ENV LC_ALL=C.utf8 ENV LANG=C.utf8 ARG PIPENV_CHECK=1 - +ARG PIPENV_PYUP_API_KEY="" RUN pip3 install --upgrade pipenv && \ pipenv install --ignore-pipfile --deploy --system && ln -s /usr/bin/python3 /usr/bin/python && \ if [ "${PIPENV_CHECK}" == 1 ] ; then pipenv check --system ; fi