Skip to content

Apache DataFusion SQL Query Engine

ARROW-4401: [Python] Alpine dockerfile fails to build because pandas requires numpy as build dependency

Krisztián Szűcs9eea045a4774
diff --git a/docker-compose.yml b/docker-compose.yml
index 16483b68ad..b93fed74b1 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -19,14 +19,22 @@
version: '3.5'
+# TODO(kszucs): set arrow's mount to :ro mode, once all of the builds are
+# passing without write access to the source directory. The following builds
+# are contaminating the source directory:
+# - docs
+# - python-alpine (writes .egg directory)
+# - rust (writes Cargo.lock)
+# - java (without the rsync trick)
+
x-ubuntu-volumes:
&ubuntu-volumes
- - .:/arrow:ro # ensures that docker won't contaminate the host directory
+ - .:/arrow:delegated
- ubuntu-cache:/build:delegated
x-alpine-volumes:
&alpine-volumes
- - .:/arrow:ro # ensures that docker won't contaminate the host directory
+ - .:/arrow:delegated
- alpine-cache:/build:delegated
volumes: