Dockerfile: do not allow pip to fetch any deps anymore

We want all our deps from debian to make sure we do not get random
versions from pip. So we call pip install in such a way, and test that
kas can include all its deps later.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Henning Schild 2021-02-24 20:53:23 +01:00 committed by Jan Kiszka
parent 5253d3c1d2
commit 8234936902

View File

@ -31,6 +31,6 @@ ENV GIT_PROXY_COMMAND="oe-git-proxy" \
NO_PROXY="*"
COPY . /kas
RUN pip3 --proxy=$https_proxy install /kas
RUN pip3 --proxy=$https_proxy install --no-deps /kas && kas --help
ENTRYPOINT ["/kas/container-entrypoint"]