更新 opencode/Dockerfile
This commit is contained in:
+4
-2
@@ -7,7 +7,7 @@ SHELL ["/bin/bash", "-c"]
|
||||
RUN rm -rf /etc/apt/sources.list.d/* \
|
||||
&& echo "deb http://192.168.1.12:8081/repository/apt-ubuntu-proxy/ noble main restricted universe multiverse" > /etc/apt/sources.list
|
||||
|
||||
RUN apt-get update --allow-insecure-repositories && apt-get install -y \
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
wget \
|
||||
git \
|
||||
@@ -43,9 +43,11 @@ RUN apt-get update --allow-insecure-repositories && apt-get install -y \
|
||||
openjdk-21-jdk \
|
||||
docker.io \
|
||||
docker-compose-v2 \
|
||||
uv \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 然后使用 pip 安装 uv(推荐使用 pip3,确保 Python 环境)
|
||||
RUN pip3 install uv
|
||||
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
|
||||
apt-get update && \
|
||||
apt-get install -y nodejs && \
|
||||
|
||||
Reference in New Issue
Block a user