diff --git a/Dockerfile b/Dockerfile index c6955f1..5e0a948 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM 192.168.194.63:5000/ubuntu:latest +FROM ubuntu:latest # 设置工作目录 WORKDIR /app @@ -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"] \ No newline at end of file +CMD ["bash"] diff --git a/dockerfiles/Dockerfile_debian12 b/dockerfiles/Dockerfile_debian12 index ccd5b9a..c9820a3 100644 --- a/dockerfiles/Dockerfile_debian12 +++ b/dockerfiles/Dockerfile_debian12 @@ -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 @@ -80,4 +81,4 @@ RUN sudo mv bin/chromedriver-linux64/chromedriver /usr/bin # 默认命令,打开vim -CMD ["bash"] \ No newline at end of file +CMD ["bash"] diff --git a/dockerfiles/Dockerfile_ubuntu20 b/dockerfiles/Dockerfile_ubuntu20 index 93b918e..cfb45f2 100644 --- a/dockerfiles/Dockerfile_ubuntu20 +++ b/dockerfiles/Dockerfile_ubuntu20 @@ -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 @@ -84,4 +85,4 @@ RUN sudo mv bin/chromedriver-linux64/chromedriver /usr/bin # 默认命令,打开vim -CMD ["bash"] \ No newline at end of file +CMD ["bash"] diff --git a/dockerfiles/Dockerfile_ubuntu24 b/dockerfiles/Dockerfile_ubuntu24 index c6955f1..88605e3 100644 --- a/dockerfiles/Dockerfile_ubuntu24 +++ b/dockerfiles/Dockerfile_ubuntu24 @@ -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 @@ -74,4 +75,4 @@ RUN sudo mv bin/chromedriver-linux64/chromedriver /usr/bin # 默认命令,打开vim -CMD ["bash"] \ No newline at end of file +CMD ["bash"]