Install ws2tcp-local, add entrypoint script and Claude installation handling

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 authored and Guofang committed 2026-10-27 22:43:04 +08:00
1 parent 54d072edd4
commit 7d743349b5
3 files changed
+104 -2

No files matched your search

+16 -1
View File
@@ -820,4 +820,19 @@ RUN --mount=type=bind,from=sources,source=duckdb-v1.5.6.tar.gz,target=/tmp/duckd
&& cmake --build build --parallel "$(nproc)" --target install \
&& rm -rf build src ui-src
CMD ["/bin/bash"]
RUN cargo install --locked --version 0.11.0 --root /usr/local ws2tcp-local \
&& rm -rf /root/.cargo/registry /root/.cargo/git
RUN bash -c 'curl -fsSL https://claude.ai/install.sh | bash'
COPY --chmod=755 entrypoint.sh /usr/local/bin/
ENV PATH="/root/.local/bin:${PATH}"
ARG CLAUDE_CODE_OAUTH_TOKEN
ENV CLAUDE_CODE_OAUTH_TOKEN=${CLAUDE_CODE_OAUTH_TOKEN}
ARG WS2TCP_LOCAL_BASIC_AUTH
ENV WS2TCP_LOCAL_BASIC_AUTH=${WS2TCP_LOCAL_BASIC_AUTH}
ENTRYPOINT ["entrypoint.sh"]