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:
1 parent
bf48c9edd2
commit
4fe7b13bf3
3 files changed
+108
-2
No files matched your search
+20
-1
@@ -824,4 +824,23 @@ RUN mkdir -p ${PREFIX}/share/source-stack \
|
||||
> ${PREFIX}/share/source-stack/source-stack.cmake \
|
||||
&& rm /tmp/source-stack.cmake.in
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
COPY --chmod=755 entrypoint.sh /usr/local/bin/
|
||||
RUN useradd --create-home develop
|
||||
USER develop
|
||||
|
||||
# ENV CLAUDE_CONFIG_DIR="/root/my-claude"
|
||||
ENV DISABLE_AUTOUPDATER="1"
|
||||
RUN bash -c 'curl -fsSL https://claude.ai/install.sh | bash'
|
||||
|
||||
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}
|
||||
|
||||
# RUN cargo install --locked --version 0.11.0 --root /usr/local ws2tcp-local \
|
||||
# && rm -rf /root/.cargo/registry /root/.cargo/git
|
||||
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
Reference in new issue
Block a user