Skip to content

Commit

Permalink
Updated tkltest-ui docker file to install chromedriver
Browse files Browse the repository at this point in the history
Signed-off-by: Saurabh Sinha <[email protected]>
  • Loading branch information
sinha108 committed Sep 26, 2023
1 parent a843cb6 commit 970f716
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup/tkltestui.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ RUN mkdir -p /usr/share/man/man1
RUN apt-get update && apt-get install -y wget python3.9 python3-pip
RUN apt-get install -y gnupg2 libgtk2.0-0

# install google chrome
# install google chrome and chromedriver
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
&& apt-get update -qqy \
&& apt-get -qqy install google-chrome-stable \
&& rm /etc/apt/sources.list.d/google-chrome.list \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
&& sed -i 's/"$HERE\/chrome"/"$HERE\/chrome" --no-sandbox/g' /opt/google/chrome/google-chrome
RUN apt-get install -y chromium-chromedriver

# install java lib dependencies
WORKDIR /app/tackle-test-cli
Expand Down

0 comments on commit 970f716

Please sign in to comment.