File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM apache/airflow:2.2.5-python3.8
2+
3+ # quick sudo
4+ USER root
5+ RUN apt-get update && apt-get install make && apt-get install build-essential git -y && apt-get install -y wget && apt-get install -y unzip
6+ RUN apt install -y default-jre
7+
8+ # back to normal user
9+ USER airflow
10+
11+ # requirements.txt shall be made availble from the **ted-sws** GitHub repository
12+ COPY requirements.txt /opt/airflow
13+
14+ # working in the /opt/airflow
15+ WORKDIR /opt/airflow
16+ RUN mkdir -p ./.rmlmapper
17+ RUN wget -c https://api.bitbucket.org/2.0/repositories/Dragos0000/rml-mapper/src/master/rmlmapper.jar -P ./.rmlmapper
18+
19+
20+ RUN wget -c https://kumisystems.dl.sourceforge.net/project/saxon/Saxon-HE/10/Java/SaxonHE10-6J.zip -P .saxon/
21+ RUN cd .saxon && unzip SaxonHE10-6J.zip && rm -rf SaxonHE10-6J.zip
22+
23+
24+ RUN pip install --upgrade pip
25+ RUN pip install --no-cache-dir -r requirements.txt --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.2.5/constraints-no-providers-3.8.txt"
You can’t perform that action at this time.
0 commit comments