shrinftdev commited on
Commit
7571e96
·
verified ·
1 Parent(s): ebd7a04

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +54 -3
Dockerfile CHANGED
@@ -1,3 +1,54 @@
1
- FROM cyberbolt/baota:latest
2
- EXPOSE 8888
3
- CMD ["-port","8888","-username","DSU","-password","COMMAD1024"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM docker.cnb.cool/set/playground/desktop:main
2
+ # .ide/Dockerfile
3
+ FROM docker.cnb.cool/set/file/dockerimages/desktop:basement
4
+ RUN apt-mark hold tzdata
5
+ RUN apt update && apt upgrade -y || true
6
+ #安装npm
7
+ RUN apt install -y -o APT::Install-Recommends=true npm
8
+
9
+ #安装PHP
10
+ RUN apt install -y -o APT::Install-Recommends=true php
11
+
12
+ #安装JDK
13
+ RUN apt install -y -o APT::Install-Recommends=true openjdk-17-jdk
14
+ RUN wget https://download.java.net/java/GA/jdk24.0.1/24a58e0e276943138bf3e963e6291ac2/9/GPL/openjdk-24.0.1_linux-x64_bin.tar.gz -O /opt/openjdk24.0.1.tar.gz && tar -zxvf /opt/openjdk24.0.1.tar.gz
15
+ #RUN 安装其他JDK?
16
+
17
+
18
+ #安装.net core
19
+ RUN wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && dpkg -i packages-microsoft-prod.deb && rm packages-microsoft-prod.deb
20
+ RUN apt-get update && apt-get install -y dotnet-sdk-8.0 dotnet-sdk-9.0 dotnet-sdk-10.0
21
+
22
+ #安装golang
23
+ RUN wget https://golang.google.cn/dl/go1.24.2.linux-amd64.tar.gz -O /opt/go1.24.2.linux-amd64.tar.gz && rm -rf /usr/local/go && tar -C /usr/local -xzf /opt/go1.24.2.linux-amd64.tar.gz && rm -rf /opt/go1.24.2.linux-amd64.tar.gz
24
+
25
+ #安装ruby
26
+ RUN apt-get install -y -o APT::Install-Recommends=true ruby-full
27
+
28
+ #安装mysql(mariadb)
29
+ RUN apt install -y -o APT::Install-Recommends=true mariadb-server
30
+
31
+ #安装Redis
32
+ RUN apt install -y -o APT::Install-Recommends=true redis
33
+
34
+ #安装memcached
35
+ RUN apt install -y -o APT::Install-Recommends=true memcached
36
+
37
+ #安装其他软件
38
+ RUN wget https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_x86_64.deb -O /opt/WeChatLinux_x86_64.deb && apt install -y /opt/WeChatLinux_x86_64.deb && rm -rf /opt/WeChatLinux_x86_64.deb
39
+ RUN wget https://dldir1.qq.com/qqfile/qq/QQNT/Linux/QQ_3.2.16_250401_amd64_01.deb -O /opt/QQ_3.2.16_250401_amd64_01.deb && apt install -y /opt/QQ_3.2.16_250401_amd64_01.deb && rm -rf /opt/QQ_3.2.16_250401_amd64_01.deb
40
+ RUN wget "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" -O /opt/vscode.deb && apt install -y /opt/vscode.deb && rm -rf /opt/vscode.deb
41
+ RUN wget https://dbeaver.io/files/dbeaver-ce_latest_amd64.deb -O /opt/dbeaver.deb && apt install -y /opt/dbeaver.deb && rm -rf /opt/dbeaver.deb
42
+
43
+ #安装CrossOver
44
+ RUN wget https://media.codeweavers.com/pub/crossover/cxlinux/demo/crossover_25.0.0-1.deb -O /opt/crossover_25.0.0-1.deb && apt install -y /opt/crossover_25.0.0-1.deb && rm -rf /opt/crossover_25.0.0-1.deb
45
+
46
+ #其他构建
47
+ RUN cd /opt/ && git clone https://cnb.cool/set/File/idea.git && chmod +x /opt/idea/Installer.sh && bash /opt/idea/Installer.sh && rm -rf /opt/idea
48
+
49
+ ###ENV CNB_WELCOME_EXECUTE_COMMAND="chmod +x /workspace/Installer/Start.sh && bash /workspace/Installer/Start.sh"
50
+
51
+ # 触发更新标记
52
+ # 20250708
53
+ EXPOSE 10001
54
+ CMD ["chmod +x /workspace/Installer/Start.sh && bash /workspace/Installer/Start.sh"]