diff options
author | Asteroide <thomas.duval@orange.com> | 2018-03-22 16:34:11 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-22 16:34:11 +0000 |
commit | f47c622a0823fb5267ae932a0555a70ce09d6e11 (patch) | |
tree | 94403ef67635e84f6c23807dbb014d462be62321 /moon_manager | |
parent | f8c559412e9953af2a823726f6d38c4bd68f9295 (diff) | |
parent | 4aa240a33637ffaba2eed26b85d28da2c6a3e074 (diff) |
Merge "Allow to force the installation of dev python library in dist directory"
Diffstat (limited to 'moon_manager')
-rw-r--r-- | moon_manager/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/moon_manager/Dockerfile b/moon_manager/Dockerfile index b5eb4e02..630c275b 100644 --- a/moon_manager/Dockerfile +++ b/moon_manager/Dockerfile @@ -3,6 +3,8 @@ FROM python:3 ADD . /root WORKDIR /root/ RUN pip3 install -r requirements.txt +RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.tar.gz); do pip install $FILE --upgrade; done; fi +RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.whl); do pip install $FILE --upgrade; done; fi RUN pip3 install . CMD ["python3", "-m", "moon_manager"]
\ No newline at end of file |