mirror of
https://github.com/apache/superset.git
synced 2026-04-26 03:24:53 +00:00
feat: optimize docker-compose up for faster boot time (#27953)
This commit is contained in:
committed by
GitHub
parent
8afe973968
commit
40e77be813
12
Dockerfile
12
Dockerfile
@@ -119,9 +119,15 @@ RUN apt-get update -qq \
|
||||
libasound2 \
|
||||
libxtst6 \
|
||||
wget \
|
||||
pkg-config \
|
||||
# Install GeckoDriver WebDriver
|
||||
&& wget -q https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VERSION}/geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz -O - | tar xfz - -C /usr/local/bin \
|
||||
git \
|
||||
pkg-config
|
||||
|
||||
RUN pip install playwright
|
||||
RUN playwright install-deps
|
||||
RUN playwright install chromium
|
||||
|
||||
# Install GeckoDriver WebDriver
|
||||
RUN wget -q https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VERSION}/geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz -O - | tar xfz - -C /usr/local/bin \
|
||||
# Install Firefox
|
||||
&& wget -q https://download-installer.cdn.mozilla.net/pub/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2 -O - | tar xfj - -C /opt \
|
||||
&& ln -s /opt/firefox/firefox /usr/local/bin/firefox \
|
||||
|
||||
Reference in New Issue
Block a user