File tree Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM rockylinux:9.3.20231119 AS base
2
2
3
3
RUN dnf install -y dnf-plugins-core && dnf install -y epel-release && dnf config-manager --set-enabled crb
4
4
5
- RUN yum -y install openssh openssh-server openssh-clients util-linux-user procps-ng-devel
5
+ RUN yum -y install openssh openssh-server openssh-clients util-linux-user procps-ng-devel fuse-sshfs
6
6
RUN yum -y install vim gcc gcc-c++ perl-Encode* perl-Data-Dumper perl-Text-Unidecode perl-libintl autoconf automake libtool git file bison texinfo ncurses-* make gperf rsync gettext-devel wget patch CUnit-devel net-tools iproute gdb
7
7
8
8
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM rockylinux:9.3.20231119 AS base
2
2
3
3
RUN dnf install -y dnf-plugins-core && dnf install -y epel-release && dnf config-manager --set-enabled crb
4
4
5
- RUN yum -y install openssh openssh-server openssh-clients util-linux-user procps-ng-devel
5
+ RUN yum -y install openssh openssh-server openssh-clients util-linux-user procps-ng-devel fuse-sshfs
6
6
RUN yum -y install vim gcc gcc-c++ perl-Encode* perl-Data-Dumper perl-Text-Unidecode perl-libintl autoconf automake libtool git file bison texinfo ncurses-* make gperf rsync gettext-devel wget patch CUnit-devel net-tools iproute gdb
7
7
8
8
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ ARG DEBIAN_FRONTEND=noninteractive
7
7
ENV TZ=Asia/Shanghai
8
8
9
9
RUN apt-get update
10
- RUN apt-get install -y locales gcc g++ libncurses-dev vim net-tools git curl iftop htop build-essential gdb iproute2 && rm -rf /var/lib/apt/lists/* && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
10
+ RUN apt-get install -y locales gcc g++ libncurses-dev vim net-tools git curl iftop htop build-essential gdb iproute2 && \
11
+ rm -rf /var/lib/apt/lists/* && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
11
12
ENV LANG en_US.utf8
12
13
13
14
# SSH Install
@@ -51,21 +52,16 @@ RUN go install github.com/ramya-rao-a/go-outline@latest && \
51
52
go install github.com/go-delve/delve/cmd/dlv@latest && \
52
53
go install honnef.co/go/tools/cmd/staticcheck@latest && \
53
54
go install golang.org/x/tools/gopls@latest
55
+
56
+ FROM golangdev AS nodedev
54
57
# nvm Install
55
58
RUN bash /opt/devinstaller/nodejsinstaller.sh
56
59
57
60
FROM nodedev AS pydev
58
61
# python Install
59
62
RUN bash /opt/devinstaller/pyinstaller.sh
60
63
61
- # 配置 xvfb和x11vnc 环境
62
- ENV DISPLAY=":1"
63
- RUN apt-get install -y x11vnc xvfb firefox gedit-dev xdotool
64
- RUN mkdir /root/.vnc && \
65
- touch /root/.vnc/passwd && \
66
- x11vnc -storepasswd "p@ssw0rd" /root/.vnc/passwd
67
-
68
-
64
+ FROM pydev AS javadev
69
65
# 配置 Java开发环境
70
66
RUN bash /opt/devinstaller/javainstaller.sh
71
67
Original file line number Diff line number Diff line change 6
6
cp -r ../devinstaller ./devinstaller
7
7
8
8
if [[ $( uname -m) == " x86_64" ]]; then
9
- docker build --builder mybuilder --network=host -f Dockerfile --load --target vscodeserver -t liuwenru/ubuntu_dev:$( uname -m) .
9
+ docker build --no-cache -- builder mybuilder --network=host -f Dockerfile --load -t liuwenru/ubuntu_dev:$( uname -m) .
10
10
elif [[ $( uname -m) == " aarch64" ]]; then
11
11
docker build --no-cache --network=host -f Dockerfile_aarch64 -t liuwenru/ubuntu_dev:$( uname -m) .
12
12
fi
You can’t perform that action at this time.
0 commit comments