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 d892018 commit ab4173d
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
FROM linuxserver/chromium
FROM debian:12

# 安装OpenJDK 11和 node 20
USER root
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 && \
RUN apt-get update && \
apt-get install chromium openjdk-11-jdk curl ca-certificates && \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
# 检测架构并设置 URL 和 JAVA_HOME
Expand Down

0 comments on commit ab4173d

Please sign in to comment.