diff options
author | 2017-12-05 10:34:56 +0000 | |
---|---|---|
committer | 2017-12-05 10:34:56 +0000 | |
commit | 33fe72d9e48315fc79cec9610ebfb81f5cb6047d (patch) | |
tree | 746dd2cbf76f727f8b68fb33e470af85b9e2f61d /docker | |
parent | 4daf79855c2dccff22134939245497140343bfa3 (diff) | |
parent | f7882526b299e0e9185b1f61d3306b48d9ec28e6 (diff) |
Merge "Use pipenv instead of pip"
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 0405aa45..5d93d591 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -40,13 +40,16 @@ RUN apt-get update && apt-get install -y \ --no-install-recommends \ && rm -rf /var/lib/apt/lists/* -RUN pip install -U pip && pip install -U setuptools +RUN locale-gen en_US en_US.UTF-8 \ + && pip install -U pip \ + && pip install -U setuptools #Cloning Repos RUN git config --global http.sslVerify false \ && git clone -b $BRANCH https://gerrit.opnfv.org/gerrit/qtip $REPOS_DIR/qtip \ && cd $REPOS_DIR/qtip \ - && pip install -U -e . + && pip install pipenv \ + && pipenv install --system RUN echo 'eval $(ssh-agent)' >> /root/.bashrc @@ -54,7 +57,7 @@ RUN echo 'eval $(ssh-agent)' >> /root/.bashrc EXPOSE 5000 #Config supervisor -RUN mkdir -p /var/log/supervisor && locale-gen en_US en_US.UTF-8 +RUN mkdir -p /var/log/supervisor COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf CMD ["/usr/bin/supervisord"]
\ No newline at end of file |