Skip to content

Commit

Permalink
[Refactor] 도커파일 크롬 드라이버 자동화
Browse files Browse the repository at this point in the history
  • Loading branch information
hen715 committed Aug 27, 2024
1 parent b23dc80 commit aaa8b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN yum install -y wget unzip && \
# 크롬 버전 확인 및 해당 버전에 맞는 크롬 드라이버 다운로드 및 설치
RUN CHROME_VERSION=$(google-chrome --version | grep -oP '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+') && \
echo "Chrome version: $CHROME_VERSION" && \
wget https://chromedriver.storage.googleapis.com/$CHROME_VERSION/chromedriver_linux64.zip && \
wget https://storage.googleapis.com/chrome-for-testing-public/$CHROME_VERSION/linux64/chromedriver-linux64.zip && \
unzip chromedriver_linux64.zip -d /usr/bin/ && \
rm chromedriver_linux64.zip

Expand Down

0 comments on commit aaa8b20

Please sign in to comment.