Fix monasca-common for building Docker image

Change-Id: I5075450ac7c7019971016203ab81ee9108cd1182
Story: 2001694
Task: 29754
This commit is contained in:
Michał Piotrowski 2019-02-28 14:55:54 +01:00
parent 52bb757314
commit 4f70a6405d
1 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,9 @@ ONBUILD RUN \
[ ! "$(git -C /monasca-common tag -l ${COMMON_VERSION})" ] && \
sed -i "s|monasca-common.*||" \
/app/upper-constraints.txt || true && \
[ $DOCKER_IMAGE = "monasca/client" ] && \
sed -i "s|python-monascaclient.*||" \
/app/upper-constraints.txt || true && \
pip3 install \
--editable /monasca-common \
--constraint /app/upper-constraints.txt && \