CodingCat opened a new issue #911: URL: https://github.com/apache/arrow-datafusion/issues/911
**Describe the bug**
the docker-based build of datafusion CLI is broken
```
[+] Building 24.5s (11/12)
=> [internal] load build definition from Dockerfile
0.0s
=> => transferring dockerfile: 1.18kB
0.0s
=> [internal] load .dockerignore
0.0s
=> => transferring context: 34B
0.0s
=> [internal] load metadata for docker.io/library/debian:buster-slim
1.2s
=> [internal] load metadata for docker.io/library/rust:latest
1.2s
=> [internal] load build context
0.0s
=> => transferring context: 12.88kB
0.0s
=> [builder 1/5] FROM
docker.io/library/rust:latest@sha256:33a923c30700bb627d1389b6819cfb18af2a585b2901df045924eba1ac0a9c30
0.0s
=> [stage-1 1/2] FROM
docker.io/library/debian:buster-slim@sha256:1b138699146ca36569f2f2098c8e22c56756b5776f7668a6a294f81a2bef2a2d
0.0s
=> CACHED [builder 2/5] COPY ./datafusion /usr/src/datafusion
0.0s
=> CACHED [builder 3/5] COPY ./datafusion-cli /usr/src/datafusion-cli
0.0s
=> CACHED [builder 4/5] WORKDIR /usr/src/datafusion-cli
0.0s
=> ERROR [builder 5/5] RUN cargo build --release
23.1s
------
> [builder 5/5] RUN cargo build --release:
#11 0.535 Updating crates.io index
#11 23.08 error: failed to get `ballista` as a dependency of package
`datafusion-cli v4.0.0-SNAPSHOT (/usr/src/datafusion-cli)`
#11 23.08
#11 23.08 Caused by:
#11 23.08 failed to load source for dependency `ballista`
#11 23.08
#11 23.08 Caused by:
#11 23.08 Unable to update /usr/src/ballista/rust/client
#11 23.08
#11 23.08 Caused by:
#11 23.08 failed to read `/usr/src/ballista/rust/client/Cargo.toml`
#11 23.08
#11 23.08 Caused by:
#11 23.08 No such file or directory (os error 2)
------
executor failed running [/bin/sh -c cargo build --release]: exit code: 101
```
**To Reproduce**
Steps to reproduce the behavior:
just run `docker build -f datafusion-cli/Dockerfile . --tag datafusion-cli`
can reproduce the issue
**Expected behavior**
the build can be successful
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
