Skip to content

Commit

Permalink
修复安装不行
Browse files Browse the repository at this point in the history
  • Loading branch information
buyfakett committed Dec 18, 2024
1 parent 538e863 commit d892018
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM linuxserver/chromium

# 安装OpenJDK 11和 node 20
USER root
RUN echo "deb http://deb.debian.org/debian unstable main non-free contrib" >> /etc/apt/sources.list && \
RUN echo "deb http://deb.debian.org/debian/ bullseye main" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian/ bullseye main" >> /etc/apt/sources.list && \
mkdir -p /usr/share/man/man1 && \
apt-get update && \
apt-get install -y openjdk-11-jdk curl ca-certificates && \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
Expand Down

0 comments on commit d892018

Please sign in to comment.