Skip to content

Commit f9c3912

Browse files
committed
Adding oidc support to airflow
1 parent 8e3bf13 commit f9c3912

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

airflow/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG GIT_SYNC
44

55
# For updated versions check https://github.com/kubernetes/git-sync/releases
66
# which should contain a image location (e.g. registry.k8s.io/git-sync/git-sync:v3.6.8)
7-
FROM oci.stackable.tech/sdp/git-sync:${GIT_SYNC} as gitsync-image
7+
FROM oci.stackable.tech/sdp/git-sync:${GIT_SYNC} AS gitsync-image
88

99
FROM stackable/image/statsd_exporter AS statsd_exporter-builder
1010

@@ -48,7 +48,10 @@ RUN python${PYTHON} -m venv --system-site-packages /stackable/app && \
4848
pip install --no-cache-dir apache-airflow[${AIRFLOW_EXTRAS}]==${PRODUCT} --constraint /tmp/constraints.txt && \
4949
# Needed for pandas S3 integration to e.g. write and read csv and parquet files to/from S3
5050
pip install --no-cache-dir s3fs cyclonedx-bom && \
51-
cyclonedx-py environment --schema-version 1.5 --outfile /stackable/airflow-${PRODUCT}.cdx.json
51+
cyclonedx-py environment --schema-version 1.5 --outfile /stackable/airflow-${PRODUCT}.cdx.json && \
52+
# Needed for OIDC
53+
pip install --no-cache-dir --upgrade Flask_OIDC==2.2.0 Flask-OpenID==1.3.1
54+
5255

5356
WORKDIR /stackable
5457
COPY --from=statsd_exporter-builder /statsd_exporter/statsd_exporter /stackable/statsd_exporter

0 commit comments

Comments
 (0)