Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #10

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Dev #10

Show file tree
Hide file tree
Changes from all 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
27 changes: 0 additions & 27 deletions .github/containerscan/allowedlist.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,3 @@
general:
vulnerabilities:
- CVE-2021-30465
- CVE-2022-1015
- CVE-2022-1116
- CVE-2022-21499
- CVE-2022-29217
- CVE-2022-30034
- CVE-2021-33026
- CVE-2015-3627
- CVE-2021-3121
- CVE-2019-16884
- CVE-2019-19921
- CVE-2022-29361
- CVE-2022-27664
- CVE-2022-3515
- CVE-2022-40023
- CVE-2022-38054
- CVE-2017-11468
- CVE-2022-29162
- CVE-2019-9512
- CVE-2019-9514
- CVE-2021-33194
- CVE-2021-44716
- CVE-2022-27664
- CVE-2022-23960
- CVE-2022-41672

bestPracticeViolations:
- CIS-DI-0010
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
steps:
- uses: actions/checkout@v2


- name: Build image
run: docker build ./airflow --file ./airflow/Dockerfile --no-cache --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"

Expand Down
11 changes: 10 additions & 1 deletion airflow/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM python:3.10-bullseye
FROM bitnami/python:3.10.11-debian-11-r13

MAINTAINER michael.graf@uni-tuebingen.de

ENV DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -32,6 +33,14 @@ COPY ./dags /root/airflow/dags

COPY entrypoint.sh /root/entrypoint.sh
RUN chmod +x /root/entrypoint.sh

# uninstall curl/libcurl3-gnutls from the image
RUN apt-get remove -y libcurl3-gnutls && \
apt-get remove -y libcurl4 && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists

ENTRYPOINT ["/root/entrypoint.sh"]
CMD ["webserver"]