diff --git a/allinone/Dockerfile b/allinone/Dockerfile index 507ccf1c..ce52a1ab 100644 --- a/allinone/Dockerfile +++ b/allinone/Dockerfile @@ -29,13 +29,14 @@ RUN set -ex \ && git clone -b ${VERSION} --depth=1 https://github.com/jumpserver/jumpserver /opt/jumpserver \ && sed -i "s@VERSION = .*@VERSION = \"${VERSION}\"@g" /opt/jumpserver/apps/jumpserver/const.py \ && chmod +x /opt/jumpserver/entrypoint.sh \ - && rm -f /opt/jumpserver/Dockerfile \ + && rm -f /opt/jumpserver/Dockerfile-ce \ && rm -rf /opt/jumpserver/.git /opt/jumpserver/.github WORKDIR /opt/jumpserver RUN set -ex \ && wget -q https://github.com/wojiushixiaobai/jumpserver-patch/raw/master/core/Dockerfile-ce \ + && echo > /opt/jumpserver/config.yml \ && cd utils \ && bash -ixeu build.sh diff --git a/core/Dockerfile b/core/Dockerfile index 81b11ca2..46967719 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -25,13 +25,14 @@ RUN set -ex \ && git clone -b ${VERSION} --depth=1 https://github.com/jumpserver/jumpserver /opt/jumpserver \ && sed -i "s@VERSION = .*@VERSION = \"${VERSION}\"@g" /opt/jumpserver/apps/jumpserver/const.py \ && chmod +x /opt/jumpserver/entrypoint.sh \ - && rm -f /opt/jumpserver/Dockerfile \ + && rm -f /opt/jumpserver/Dockerfile-ce \ && rm -rf /opt/jumpserver/.git /opt/jumpserver/.github WORKDIR /opt/jumpserver RUN set -ex \ && wget -q https://github.com/wojiushixiaobai/jumpserver-patch/raw/master/core/Dockerfile-ce \ + && echo > /opt/jumpserver/config.yml \ && cd utils \ && bash -ixeu build.sh