Skip to content

Commit

Permalink
changed airflow image and added filters for security scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragos0000 committed Aug 14, 2024
1 parent ca528ae commit 5ae9c66
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 19 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ create-env-airflow:
@ cp requirements.txt ./infra/airflow/
@ cp -r ted_sws ./infra/airflow/
@ cp -r dags ./infra/airflow/
@ cp -r libraries ./infra/airflow/


build-airflow: guard-ENVIRONMENT create-env-airflow build-externals
Expand Down
1 change: 1 addition & 0 deletions filters/fortify-exclusion.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
excludePatterns=**/src/docs/**/*,**/src/tests/**/*
1 change: 1 addition & 0 deletions filters/odc-exclusion.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
excludePatterns=**/src/docs/**/*,**/src/tests/**/*
2 changes: 2 additions & 0 deletions infra/airflow-cluster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ RUN apt-get update && apt-get install -y \
# back to normal user
USER airflow

COPY libraries /home/airflow

# requirements.txt shall be made availble from the **ted-sws** GitHub repository
COPY requirements.txt /opt/airflow

Expand Down
2 changes: 2 additions & 0 deletions infra/airflow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ RUN apt-get update && apt-get install -y \
# back to normal user
USER airflow

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

# working in the /opt/airflow
WORKDIR /opt/airflow

RUN mkdir -p ./dags ./ted_sws


Expand Down
19 changes: 0 additions & 19 deletions infra/alpine/Dockerfile

This file was deleted.

0 comments on commit 5ae9c66

Please sign in to comment.