From d4fa082e171368cb0f8dc9dccd6b2169846d6d0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=B9=BF?= Date: Thu, 14 Sep 2017 09:49:42 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c7a22736e..3e77af6f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,9 @@ LABEL MAINTAINER Jumpserver Team COPY . /opt/jumpserver WORKDIR /opt/jumpserver -RUN yum -y install epel-release -RUN cd requirements && yum -y install $(cat rpm_requirements.txt) -RUN cd requirements && pip install -r requirements.txt -RUN yum clean all +RUN yum -y install epel-release && yum clean all -y +RUN cd requirements && yum -y install $(cat rpm_requirements.txt) && yum clean all -y +RUN cd requirements && pip install -r requirements.txt RUN rm -f data/db.sqlite3 RUN rm -r .git