Skip to content

Commit 5b09bc1

Browse files
committed
Update the Dockerfile
1 parent 93b6057 commit 5b09bc1

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

Dockerfile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,18 @@ RUN apt-get install -y \
4646
#============================
4747
RUN apt-get update
4848
RUN apt-get install -y \
49+
dbus-x11 \
4950
libatk1.0-0 \
5051
libatspi2.0-0 \
5152
libdbus-1-3 \
5253
libdrm2 \
5354
libgtk-3-0 \
5455
libnspr4 \
56+
libasound2t64 \
5557
libu2f-udev \
5658
libwayland-client0 \
59+
libx11-6 \
60+
libx11-xcb1 \
5761
libxdamage1 \
5862
libxfixes3 \
5963
libxkbcommon0
@@ -62,7 +66,7 @@ RUN apt-get install -y \
6266
# Install useful utilities
6367
#==========================
6468
RUN apt-get update
65-
RUN apt-get install -y xdg-utils ca-certificates
69+
RUN apt-get install -y xdg-utils ca-certificates x11vnc
6670

6771
#=================================
6872
# Install Bash Command Line Tools
@@ -127,13 +131,20 @@ RUN cd /SeleniumBase && ls && pip install -r requirements.txt --upgrade
127131
RUN cd /SeleniumBase && pip install .
128132
RUN pip install pyautogui
129133
RUN pip install playwright
134+
RUN seleniumbase get cft
130135
RUN seleniumbase get chromium
131136

132137
#=======================
133138
# Download chromedriver
134139
#=======================
135140
RUN seleniumbase get chromedriver --path
136141

142+
#==============
143+
# Extra config
144+
#==============
145+
ENV DISPLAY=":99"
146+
RUN Xvfb :99 -screen 1 1920x1080x16 -nolisten tcp &
147+
137148
#==========================================
138149
# Create entrypoint and grab example tests
139150
#==========================================

0 commit comments

Comments
 (0)