xvfb 설치 안함, python 으로도 실행 가능하도록 심볼릭 링크 추가
This commit is contained in:
@ -5,9 +5,10 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
# 필수 패키지 설치 및 크롬 설치
|
# 필수 패키지 설치 및 크롬 설치
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
python3 python3-pip cron curl unzip wget xvfb \
|
python3 python3-pip cron curl unzip wget \
|
||||||
libglib2.0-0 libnss3 libgconf-2-4 libfontconfig1 libxss1 libxshmfence1 \
|
libglib2.0-0 libnss3 libgconf-2-4 libfontconfig1 libxss1 libxshmfence1 \
|
||||||
libasound2 libxtst6 libappindicator3-1 fonts-liberation libu2f-udev && \
|
libasound2 libxtst6 libappindicator3-1 fonts-liberation libu2f-udev && \
|
||||||
|
ln -s /usr/bin/python3 /usr/bin/python && \
|
||||||
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
|
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
|
||||||
apt-get install -y ./google-chrome-stable_current_amd64.deb && \
|
apt-get install -y ./google-chrome-stable_current_amd64.deb && \
|
||||||
rm google-chrome-stable_current_amd64.deb && \
|
rm google-chrome-stable_current_amd64.deb && \
|
||||||
|
|||||||
Reference in New Issue
Block a user