x-undefined-2 commited on
Commit
f697a0d
verified
1 Parent(s): 5ea5fa6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -12
Dockerfile CHANGED
@@ -2,18 +2,7 @@ FROM ubuntu:24.04
2
 
3
  # 淇敼鏂规硶
4
  RUN sed -i 's#http://archive.ubuntu.com/#http://mirrors.tuna.tsinghua.edu.cn/#' /etc/apt/sources.list;
5
- RUN apt-get update && apt-get install -y openssl nodejs npm
6
-
7
- RUN openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 30 -out cert.pem -subj "/CN=localhost"
8
-
9
- ENV HOME=/home/ubuntu \
10
- PATH=/home/ubuntu/.local/bin:$PATH
11
-
12
- WORKDIR $HOME/socks-server
13
- RUN mkdir ./.wrangler
14
- COPY . .
15
- RUN tar -zxf ./node-v20.15.0-linux-x64.tar.gz
16
-
17
  RUN chown -R ubuntu:ubuntu ./
18
  RUN chmod +x ./entrypoint.sh
19
 
 
2
 
3
  # 淇敼鏂规硶
4
  RUN sed -i 's#http://archive.ubuntu.com/#http://mirrors.tuna.tsinghua.edu.cn/#' /etc/apt/sources.list;
5
+ RUN apt-get update && apt-get install -y openjdk
 
 
 
 
 
 
 
 
 
 
 
6
  RUN chown -R ubuntu:ubuntu ./
7
  RUN chmod +x ./entrypoint.sh
8