aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorTaseer Ahmed <taseer94@gmail.com>2017-12-05 10:34:56 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-05 10:34:56 +0000
commit33fe72d9e48315fc79cec9610ebfb81f5cb6047d (patch)
tree746dd2cbf76f727f8b68fb33e470af85b9e2f61d /docker/Dockerfile
parent4daf79855c2dccff22134939245497140343bfa3 (diff)
parentf7882526b299e0e9185b1f61d3306b48d9ec28e6 (diff)
Merge "Use pipenv instead of pip"
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile9
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