Skip to content

Commit 8a2730c

Browse files
committed
Moving OIDC libs before cyclonedx
1 parent d56fc6f commit 8a2730c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

airflow/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ 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 && \
5251
# Needed for OIDC
53-
pip install --no-cache-dir --upgrade Flask_OIDC==2.2.0 Flask-OpenID==1.3.1
54-
52+
pip install --no-cache-dir --upgrade Flask_OIDC==2.2.0 Flask-OpenID==1.3.1 && \
53+
cyclonedx-py environment --schema-version 1.5 --outfile /stackable/airflow-${PRODUCT}.cdx.json
5554

5655
WORKDIR /stackable
5756
COPY --from=statsd_exporter-builder /statsd_exporter/statsd_exporter /stackable/statsd_exporter

0 commit comments

Comments
 (0)