Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4fe7b13bf3 | ||
|
|
bf48c9edd2 |
+7
-7
@@ -38,8 +38,6 @@ ENV PATH=${PREFIX}/bin:${PATH} \
|
|||||||
|
|
||||||
RUN test "$(cmake --version | sed -n '1s/[^0-9]*//p' | cut -d. -f2)" -ge 29
|
RUN test "$(cmake --version | sed -n '1s/[^0-9]*//p' | cut -d. -f2)" -ge 29
|
||||||
|
|
||||||
RUN git config --global url."https://wangguofang.net/github.com/".insteadOf "https://github.com/"
|
|
||||||
|
|
||||||
RUN --mount=type=bind,from=sources,source=rust,target=/tmp/rust \
|
RUN --mount=type=bind,from=sources,source=rust,target=/tmp/rust \
|
||||||
mkdir rust-src \
|
mkdir rust-src \
|
||||||
&& tar -xJf "/tmp/rust/rust-1.99.1-$(uname -m)-unknown-linux-gnu.tar.xz" -C rust-src --strip-components=1 \
|
&& tar -xJf "/tmp/rust/rust-1.99.1-$(uname -m)-unknown-linux-gnu.tar.xz" -C rust-src --strip-components=1 \
|
||||||
@@ -826,15 +824,14 @@ RUN mkdir -p ${PREFIX}/share/source-stack \
|
|||||||
> ${PREFIX}/share/source-stack/source-stack.cmake \
|
> ${PREFIX}/share/source-stack/source-stack.cmake \
|
||||||
&& rm /tmp/source-stack.cmake.in
|
&& rm /tmp/source-stack.cmake.in
|
||||||
|
|
||||||
RUN cargo install --locked --version 0.11.0 --root /usr/local ws2tcp-local \
|
COPY --chmod=755 entrypoint.sh /usr/local/bin/
|
||||||
&& rm -rf /root/.cargo/registry /root/.cargo/git
|
RUN useradd --create-home develop
|
||||||
|
USER develop
|
||||||
|
|
||||||
ENV CLAUDE_CONFIG_DIR="/root/my-claude"
|
# ENV CLAUDE_CONFIG_DIR="/root/my-claude"
|
||||||
ENV DISABLE_AUTOUPDATER="1"
|
ENV DISABLE_AUTOUPDATER="1"
|
||||||
RUN bash -c 'curl -fsSL https://claude.ai/install.sh | bash'
|
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}"
|
ENV PATH="/root/.local/bin:${PATH}"
|
||||||
|
|
||||||
ARG CLAUDE_CODE_OAUTH_TOKEN
|
ARG CLAUDE_CODE_OAUTH_TOKEN
|
||||||
@@ -843,4 +840,7 @@ ENV CLAUDE_CODE_OAUTH_TOKEN=${CLAUDE_CODE_OAUTH_TOKEN}
|
|||||||
ARG WS2TCP_LOCAL_BASIC_AUTH
|
ARG WS2TCP_LOCAL_BASIC_AUTH
|
||||||
ENV WS2TCP_LOCAL_BASIC_AUTH=${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"]
|
ENTRYPOINT ["entrypoint.sh"]
|
||||||
Reference in new issue
Block a user