Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM 192.168.194.63:5000/ubuntu:latest
FROM ubuntu:latest

# 设置工作目录
WORKDIR /app
Expand Down Expand Up @@ -65,13 +65,14 @@ RUN sudo apt install -y \
libxfixes3 \
libxkbcommon0 \
libxrandr2 \
libevent-dev \
xdg-utils
RUN sudo apt install -y libasound2t64
RUN sudo dpkg -i bin/google-chrome-stable_current_amd64.deb
RUN sudo apt install -f
RUN sudo dpkg -i bin/google-chrome-stable_current_amd64.deb
RUN sudo mv bin/chromedriver-linux64/chromedriver /usr/bin
#RUN sudo dpkg -i bin/google-chrome-stable_current_amd64.deb
#RUN sudo apt install -f
#RUN sudo dpkg -i bin/google-chrome-stable_current_amd64.deb
#RUN sudo mv bin/chromedriver-linux64/chromedriver /usr/bin


# 默认命令,打开vim
CMD ["bash"]
CMD ["bash"]
3 changes: 2 additions & 1 deletion dockerfiles/Dockerfile_debian12
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ RUN sudo apt install -y \
libxfixes3 \
libxkbcommon0 \
libxrandr2 \
libevent-dev \
xdg-utils
RUN sudo apt install -y libasound2
RUN sudo dpkg -i bin/google-chrome-stable_current_amd64.deb
Expand All @@ -80,4 +81,4 @@ RUN sudo mv bin/chromedriver-linux64/chromedriver /usr/bin


# 默认命令,打开vim
CMD ["bash"]
CMD ["bash"]
3 changes: 2 additions & 1 deletion dockerfiles/Dockerfile_ubuntu20
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ RUN sudo apt install -y \
libxfixes3 \
libxkbcommon0 \
libxrandr2 \
libevent-dev \
xdg-utils
RUN sudo apt install -y libasound2
RUN sudo dpkg -i bin/google-chrome-stable_current_amd64.deb
Expand All @@ -84,4 +85,4 @@ RUN sudo mv bin/chromedriver-linux64/chromedriver /usr/bin


# 默认命令,打开vim
CMD ["bash"]
CMD ["bash"]
3 changes: 2 additions & 1 deletion dockerfiles/Dockerfile_ubuntu24
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ RUN sudo apt install -y \
libxfixes3 \
libxkbcommon0 \
libxrandr2 \
libevent-dev \
xdg-utils
RUN sudo apt install -y libasound2t64
RUN sudo dpkg -i bin/google-chrome-stable_current_amd64.deb
Expand All @@ -74,4 +75,4 @@ RUN sudo mv bin/chromedriver-linux64/chromedriver /usr/bin


# 默认命令,打开vim
CMD ["bash"]
CMD ["bash"]