summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d2d00c7)
Change-Id: Iacc57c09341252ca7d7a11f89a2ba7a3ba697cf9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
python3-setuptools wget && \
python3 -m pip install -U pip build
python3-setuptools wget && \
python3 -m pip install -U pip build
ARG PYTHON3_OSM_COMMON_URL
ARG PYTHON3_OSM_NGSA_URL
RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
ARG PYTHON3_OSM_COMMON_URL
ARG PYTHON3_OSM_NGSA_URL
RUN curl $PYTHON3_OSM_COMMON_URL -o osm_common.deb
-RUN dpkg -i ./osm_common.deb
RUN curl $PYTHON3_OSM_NGSA_URL -o osm_ngsa.deb
RUN curl $PYTHON3_OSM_NGSA_URL -o osm_ngsa.deb
-RUN dpkg -i ./osm_ngsa.deb
+RUN mkdir /tmp/osm
+RUN dpkg-deb -x osm_common.deb /tmp/osm
+RUN dpkg-deb -x osm_ngsa.deb /tmp/osm
+
+RUN mv /tmp/osm/usr/lib/python3/dist-packages/* /home/airflow/.local/lib/python3.8/site-packages/
+RUN rm -rf /tmp/osm
- -r /usr/lib/python3/dist-packages/osm_common/requirements.txt \
- -r /usr/lib/python3/dist-packages/osm_ngsa/requirements.txt
+ -r /home/airflow/.local/lib/python3.8/site-packages/osm_common/requirements.txt \
+ -r /home/airflow/.local/lib/python3.8/site-packages/osm_ngsa/requirements.txt
+
+RUN pip3 install \
+ -r /home/airflow/.local/lib/python3.8/site-packages/osm_common/requirements.txt \
+ -r /home/airflow/.local/lib/python3.8/site-packages/osm_ngsa/requirements.txt
name: ngsa-secret
config:
core:
name: ngsa-secret
config:
core:
- dags_folder: "/usr/lib/python3/dist-packages/osm_ngsa"
+ dags_folder: "/home/airflow/.local/lib/python3.8/site-packages/osm_ngsa"