Skip to content
Merged
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion superset/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ RUN microdnf update \
&& microdnf clean all && \
rm -rf /var/cache/yum

# DL3042 gets ignored, since we use --no-chache-dir, hadolint can't interfere properly
# SC2102 informs about [abba] = [ab], but we can igonre this for [sqlalchemy] https://www.shellcheck.net/wiki/SC2102
# hadolint ignore=DL3042,SC2102
RUN python3 -m venv /stackable/app \
&& source /stackable/app/bin/activate \
&& pip install \
Expand All @@ -56,6 +59,11 @@ RUN python3 -m venv /stackable/app \
pydruid \
python-ldap \
trino[sqlalchemy] \
# Add optional dependencies for use in custom Superset configurations.
# Since https://github.com/stackabletech/superset-operator/pull/530
# admins can add custom configuration to superset_conf.py.
Flask_OIDC==2.2.0 \
Flask-OpenID==1.3.1\
# Redhat has removed `tzdata` from the ubi-minimal images: see https://bugzilla.redhat.com/show_bug.cgi?id=2223028.
# Superset relies on ZoneInfo (https://docs.python.org/3/library/zoneinfo.html#data-sources) to resolve time zones, and this is done
# by searching first under `TZPATH` (which is empty due to the point above) or for the tzdata python package.
Expand All @@ -66,7 +74,7 @@ RUN python3 -m venv /stackable/app \
--upgrade \
python-json-logger \
cyclonedx-bom \
&& if [ ! -z "$AUTHLIB" ]; then pip install Authlib==${AUTHLIB}; fi
&& if [ -n "$AUTHLIB" ]; then pip install Authlib==${AUTHLIB}; fi

COPY superset/stackable/patches /patches
RUN /patches/apply_patches.sh ${PRODUCT}
Expand Down
Loading