Skip to content

Commit 5ae9c66

Browse files
committed
changed airflow image and added filters for security scanning
1 parent ca528ae commit 5ae9c66

6 files changed

Lines changed: 7 additions & 19 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ create-env-airflow:
9595
@ cp requirements.txt ./infra/airflow/
9696
@ cp -r ted_sws ./infra/airflow/
9797
@ cp -r dags ./infra/airflow/
98+
@ cp -r libraries ./infra/airflow/
9899

99100

100101
build-airflow: guard-ENVIRONMENT create-env-airflow build-externals
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
excludePatterns=**/src/docs/**/*,**/src/tests/**/*

filters/odc-exclusion.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
excludePatterns=**/src/docs/**/*,**/src/tests/**/*

infra/airflow-cluster/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ RUN apt-get update && apt-get install -y \
1515
# back to normal user
1616
USER airflow
1717

18+
COPY libraries /home/airflow
19+
1820
# requirements.txt shall be made availble from the **ted-sws** GitHub repository
1921
COPY requirements.txt /opt/airflow
2022

infra/airflow/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ RUN apt-get update && apt-get install -y \
1515
# back to normal user
1616
USER airflow
1717

18+
COPY libraries /home/airflow
1819
# requirements.txt shall be made availble from the **ted-sws** GitHub repository
1920
COPY requirements.txt /opt/airflow
2021

2122
# working in the /opt/airflow
2223
WORKDIR /opt/airflow
24+
2325
RUN mkdir -p ./dags ./ted_sws
2426

2527

infra/alpine/Dockerfile

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)