mirror of https://github.com/jumpserver/jumpserver
parent
1614a81936
commit
502ded6de1
|
@ -21,7 +21,7 @@ RUN useradd jumpserver
|
||||||
RUN yum -y install epel-release && \
|
RUN yum -y install epel-release && \
|
||||||
echo -e "[mysql]\nname=mysql\nbaseurl=${MYSQL_MIRROR}\ngpgcheck=0\nenabled=1" > /etc/yum.repos.d/mysql.repo
|
echo -e "[mysql]\nname=mysql\nbaseurl=${MYSQL_MIRROR}\ngpgcheck=0\nenabled=1" > /etc/yum.repos.d/mysql.repo
|
||||||
RUN yum -y install $(cat requirements/rpm_requirements.txt)
|
RUN yum -y install $(cat requirements/rpm_requirements.txt)
|
||||||
RUN pip install --upgrade pip setuptools wheel -i ${PIP_MIRROR} && \
|
RUN pip install --upgrade pip setuptools==49.6.0 wheel -i ${PIP_MIRROR} && \
|
||||||
pip config set global.index-url ${PIP_MIRROR}
|
pip config set global.index-url ${PIP_MIRROR}
|
||||||
RUN pip install -r requirements/requirements.txt || pip install -r requirements/requirements.txt
|
RUN pip install -r requirements/requirements.txt || pip install -r requirements/requirements.txt
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue