This is an automated email from the ASF dual-hosted git repository.
sfirke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new a225f329c5 feat(docs): fix bug google chrome < 114 not found (#29941)
a225f329c5 is described below
commit a225f329c586d1e7d596ab38c6fc54eac9724e6a
Author: Natsu <[email protected]>
AuthorDate: Sat Aug 17 00:57:28 2024 +0700
feat(docs): fix bug google chrome < 114 not found (#29941)
---
docs/docs/configuration/alerts-reports.mdx | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/docs/docs/configuration/alerts-reports.mdx
b/docs/docs/configuration/alerts-reports.mdx
index ed4e739aea..410f5e31a2 100644
--- a/docs/docs/configuration/alerts-reports.mdx
+++ b/docs/docs/configuration/alerts-reports.mdx
@@ -251,15 +251,18 @@ FROM apache/superset:3.1.0
USER root
RUN apt-get update && \
- wget -q
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
+ apt-get install -y wget zip libaio1
+
+RUN export CHROMEDRIVER_VERSION=$(curl --silent
https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_116) && \
+ wget -O google-chrome-stable_current_amd64.deb -q
http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROMEDRIVER_VERSION}-1_amd64.deb
&& \
apt-get install -y --no-install-recommends
./google-chrome-stable_current_amd64.deb && \
rm -f google-chrome-stable_current_amd64.deb
-RUN export CHROMEDRIVER_VERSION=$(curl --silent
https://chromedriver.storage.googleapis.com/LATEST_RELEASE_102) && \
- wget -q
https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip
&& \
- unzip chromedriver_linux64.zip -d /usr/bin && \
+RUN export CHROMEDRIVER_VERSION=$(curl --silent
https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_116) && \
+ wget -q
https://storage.googleapis.com/chrome-for-testing-public/${CHROMEDRIVER_VERSION}/linux64/chromedriver-linux64.zip
&& \
+ unzip -j chromedriver-linux64.zip -d /usr/bin && \
chmod 755 /usr/bin/chromedriver && \
- rm -f chromedriver_linux64.zip
+ rm -f chromedriver-linux64.zip
RUN pip install --no-cache gevent psycopg2 redis