Browse Source

fix: 去掉多余的 collect static

perf: 使用bash 才能保证 subprocess 运行正常
pull/7332/head
ibuler 3 years ago committed by 老广
parent
commit
3c8726f1b0
  1. 4
      Dockerfile
  2. 1
      jms

4
Dockerfile

@ -37,7 +37,9 @@ RUN pip install --upgrade pip==20.2.4 setuptools==49.6.0 wheel==0.34.2 -i ${PIP_
COPY --from=stage-build /opt/jumpserver/release/jumpserver /opt/jumpserver
RUN mkdir -p /root/.ssh/ \
&& echo "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null" > /root/.ssh/config
&& echo "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null" > /root/.ssh/config \
&& mv /bin/sh /bin/sh.bak \
&& ln -s /bin/bash /bin/sh
RUN mkdir -p /opt/jumpserver/oracle/ \
&& wget https://download.jumpserver.org/public/instantclient-basiclite-linux.x64-21.1.0.0.0.tar > /dev/null \

1
jms

@ -113,7 +113,6 @@ def compile_i81n_file():
def upgrade_db():
collect_static()
perform_db_migrate()
collect_static()
def prepare():

Loading…
Cancel
Save