Skip to content

Commit

Permalink
Merge pull request #210 from jumpserver/dev
Browse files Browse the repository at this point in the history
fix: 修正缺少文件
  • Loading branch information
wojiushixiaobai authored Dec 29, 2023
2 parents 0420441 + b2456ec commit 4639e47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion allinone/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4639e47

Please sign in to comment.