You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ag...@apache.org on 2021/08/07 13:25:05 UTC

[arrow-datafusion] branch master updated: Add ballista-examples to docker build (#829)

This is an automated email from the ASF dual-hosted git repository.

agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new dd14e18  Add ballista-examples to docker build (#829)
dd14e18 is described below

commit dd14e1806576cff995d8d4655e04050cba08923f
Author: Andy Grove <an...@gmail.com>
AuthorDate: Sat Aug 7 07:25:01 2021 -0600

    Add ballista-examples to docker build (#829)
---
 dev/docker/ballista.dockerfile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev/docker/ballista.dockerfile b/dev/docker/ballista.dockerfile
index 730e867..11b788e 100644
--- a/dev/docker/ballista.dockerfile
+++ b/dev/docker/ballista.dockerfile
@@ -29,15 +29,17 @@ RUN cargo install cargo-chef
 
 FROM base as planner
 RUN mkdir /tmp/ballista/ballista
+RUN mkdir /tmp/ballista/ballista-examples
 RUN mkdir /tmp/ballista/benchmarks
 RUN mkdir /tmp/ballista/datafusion
 RUN mkdir /tmp/ballista/datafusion-examples
 ADD Cargo.toml .
+COPY ballista ./ballista/
+COPY ballista-examples ./ballista-examples/
 COPY benchmarks ./benchmarks/
 COPY datafusion ./datafusion/
 COPY datafusion-cli ./datafusion-cli/
 COPY datafusion-examples ./datafusion-examples/
-COPY ballista ./ballista/
 RUN cargo chef prepare --recipe-path recipe.json
 
 FROM base as cacher
@@ -46,14 +48,16 @@ RUN cargo chef cook $RELEASE_FLAG --recipe-path recipe.json
 
 FROM base as builder
 RUN mkdir /tmp/ballista/ballista
+RUN mkdir /tmp/ballista/ballista-examples
 RUN mkdir /tmp/ballista/benchmarks
 RUN mkdir /tmp/ballista/datafusion
 RUN mkdir /tmp/ballista/datafusion-cli
 RUN mkdir /tmp/ballista/datafusion-examples
 ADD Cargo.toml .
+COPY ballista ./ballista/
+COPY ballista-examples ./ballista-examples/
 COPY benchmarks ./benchmarks/
 COPY datafusion ./datafusion/
-COPY ballista ./ballista/
 COPY datafusion-cli ./datafusion-cli/
 COPY datafusion-examples ./datafusion-examples/
 COPY --from=cacher /tmp/ballista/target target