Skip to content

Commit 2eecf8e

Browse files
committed
Fix typos and move URL to env variable
1 parent 5021e70 commit 2eecf8e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ENV TERM linux
66

77
# Airflow
88
ARG AIRFLOW_VERSION=1.7.1.3
9+
ARG AIRFLOW_REPO_URL=https://github.com/apache/incubator-airflow.git
910
ARG AIRFLOW_COMMIT=fe037d6
1011
ENV AIRFLOW_HOME /usr/local/airflow
1112

@@ -53,11 +54,11 @@ RUN set -ex \
5354
&& pip install 'google-api-python-client>=1.5.0,<1.6.0' \
5455
&& pip install 'oauth2client>=2.0.2,<2.1.0' \
5556
&& pip install httplib2 \
56-
&& git clone http://github.com/markovianhq/incubator-airflow.git
57+
&& git clone ${AIRFLOW_REPO_URL} \
5758
&& cd incubator-airflow \
58-
&& git checkout $AIRFLOW_COMMIT \
59+
&& git checkout ${AIRFLOW_COMMIT} \
5960
&& pip install -e . \
60-
&& cd ..
61+
&& cd .. \
6162
&& apt-get remove --purge -yqq $buildDeps libpq-dev \
6263
&& apt-get clean \
6364
&& rm -rf \

0 commit comments

Comments
 (0)