Skip to content

Commit 996e447

Browse files
fix: create 'bootcs' symlink in Docker image
- Keep 'bootcs-cli' as the only command for local pip install - Create symlink 'bootcs -> bootcs-cli' in Docker image - This allows ENTRYPOINT to use 'bootcs' without conflicting with Docker wrapper Fixes: exec: 'bootcs': executable file not found in container
1 parent e5f5f85 commit 996e447

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ ENV PATH="${JAVA_HOME}/bin:${PATH}"
7070
# ============================================
7171
# ARG 用于打破缓存,确保每次构建都拉取最新代码
7272
ARG CACHEBUST=1
73-
RUN pip install --no-cache-dir git+https://github.com/bootcs-dev/bootcs-cli.git
73+
RUN pip install --no-cache-dir git+https://github.com/bootcs-dev/bootcs-cli.git \
74+
&& ln -s /usr/local/bin/bootcs-cli /usr/local/bin/bootcs
7475

7576
# ============================================
7677
# 环境配置

0 commit comments

Comments
 (0)