Dockerfile 1.54 KB
Newer Older
1
2
3
4
FROM apache/airflow:1.10.12-python3.6
# https://github.com/apache/airflow/blob/1.10.12/Dockerfile#L335
# https://github.com/apache/airflow/blob/1.10.12/Dockerfile#L335
ARG AIRFLOW_USER=airflow
harshit aggarwal's avatar
harshit aggarwal committed
5
6
7
ARG BUILD_VERSION
ADD osdu_airflow*.whl ./osdu_airflow-$BUILD_VERSION-py3-none-any.whl
ADD osdu_api*.whl ./osdu_api-$BUILD_VERSION-py3-none-any.whl
8
9
10
11
12
USER root
RUN apt-get update \
    && apt-get install -y --only-upgrade bind9-host=1:9.11.5.P4+dfsg-5.1+deb10u5 \
        apt=1.8.2.2 \
		curl=7.64.0-4+deb10u2 \
harshit aggarwal's avatar
harshit aggarwal committed
13
		krb5-user=1.17-3+deb10u3 \
14
15
16
		ldap-utils=2.4.47+dfsg-3+deb10u6 \
		libbsd0=0.9.1-2+deb10u1 \
		libcurl4=7.64.0-4+deb10u2 \
harshit aggarwal's avatar
harshit aggarwal committed
17
18
19
20
21
22
23
24
		libgssapi-krb5-2=1.17-3+deb10u3 \
		libgssrpc4=1.17-3+deb10u3 \
		libk5crypto3=1.17-3+deb10u3 \
		libkadm5clnt-mit11=1.17-3+deb10u3 \
		libkadm5srv-mit11=1.17-3+deb10u3 \
		libkdb5-9=1.17-3+deb10u3 \
		libkrb5-3=1.17-3+deb10u3 \
		libkrb5support0=1.17-3+deb10u3 \
25
26
27
28
29
30
31
		libldap-2.4-2=2.4.47+dfsg-3+deb10u6 \
		libldap-common=2.4.47+dfsg-3+deb10u6 \
		libp11-kit0=0.23.15-2+deb10u1 \
		libpq5=11.12-0+deb10u1 \
		libpython3.7-minimal=3.7.3-2+deb10u3 \
		libpython3.7-stdlib=3.7.3-2+deb10u3 \
		libsqlite3-0=3.27.2-3+deb10u1 \
harshit aggarwal's avatar
harshit aggarwal committed
32
		libssl1.1=1.1.1d-0+deb10u7 \
harshit aggarwal's avatar
harshit aggarwal committed
33
		libxml2=2.9.4+dfsg1-7+deb10u2 \
harshit aggarwal's avatar
harshit aggarwal committed
34
		openssl=1.1.1d-0+deb10u7 \
35
36
37
38
39
40
		postgresql-client-11=11.12-0+deb10u1 \
		python3.7=3.7.3-2+deb10u3 \
		python3.7-minimal=3.7.3-2+deb10u3 \
		sqlite3=3.27.2-3+deb10u1 \
		sudo=1.8.27-1+deb10u3 \
		liblz4-1=1.8.3-1+deb10u1
harshit aggarwal's avatar
harshit aggarwal committed
41
42
43

RUN pip install osdu_airflow-$BUILD_VERSION-py3-none-any.whl
RUN pip install osdu_api-$BUILD_VERSION-py3-none-any.whl
harshit aggarwal's avatar
harshit aggarwal committed
44
USER ${AIRFLOW_USER}