Fokko closed pull request #2: Install some Python requirements for supporting
local testing.
URL: https://github.com/apache/incubator-airflow-ci/pull/2
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/Dockerfile b/Dockerfile
index e13c185..af724d9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -114,10 +114,17 @@ RUN adduser airflow && \
echo "airflow ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/airflow && \
chmod 0440 /etc/sudoers.d/airflow
+# Install Python requirements
+RUN sudo -H pip install --upgrade pip && \
+ sudo -H pip install wheel tox && \
+ sudo -H pip3 install --upgrade pip && \
+ sudo -H pip3 install wheel tox && \
+ rm -rf ~/.cache
+
EXPOSE 8080
WORKDIR /home/airflow
-ENV PATH "$PATH:/tmp/hive/bin"
+ENV PATH "$PATH:/tmp/hive/bin:$ADDITIONAL_PATH"
USER airflow
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services