Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image build can't find deltalake-core dependency #170

Closed
beanscouts opened this issue Mar 14, 2024 · 2 comments · Fixed by #171
Closed

Docker image build can't find deltalake-core dependency #170

beanscouts opened this issue Mar 14, 2024 · 2 comments · Fixed by #171
Assignees

Comments

@beanscouts
Copy link

Following the set up instructions from main and docker build -t kdi:0.1 . -f Dockerfile.Debian fails to resolve deltalake-core dependency:

> [builder 4/4] RUN cargo install --path .:
0.200   Installing kafka-delta-ingest v0.2.0 (/usr/src/kafka-delta-ingest)
0.328     Updating crates.io index
20.97     Updating git repository `https://github.com/delta-io/delta-rs`
22.61 error: failed to compile `kafka-delta-ingest v0.2.0 (/usr/src/kafka-delta-ingest)`, intermediate artifacts can be found at `/usr/src/kafka-delta-ingest/target`
22.61
22.61 Caused by:
22.61   no matching package named `deltalake-core` found
22.61   location searched: https://github.com/delta-io/delta-rs?branch=main
22.61   required by package `kafka-delta-ingest v0.2.0 (/usr/src/kafka-delta-ingest)`
------
Dockerfile.Debian:4
--------------------
   2 |     WORKDIR /usr/src/kafka-delta-ingest
   3 |     COPY . .
   4 | >>> RUN cargo install --path .
   5 |
   6 |     FROM debian:bullseye
--------------------
ERROR: failed to solve: process "/bin/sh -c cargo install --path ." did not complete successfully: exit code: 101
@rtyler rtyler self-assigned this Mar 15, 2024
@rtyler
Copy link
Member

rtyler commented Mar 15, 2024

@beanscouts I have some local changes I had been meaning to push which update the main Dockerfile. I was intending to just delete Dockerfile.debian Do you have a strong reason for that, or would me cleaning up the main Dockerfile be sufficient

rtyler added a commit to rtyler/kafka-delta-ingest that referenced this issue Mar 15, 2024
Now with `Makefile`: `make docker`

Fixes delta-io#170
@beanscouts
Copy link
Author

@rtyler No strong reason, no. Just following the README.md instructions to get running with this software. I'll hold out for the stashed changes - thanks!

rtyler added a commit to rtyler/kafka-delta-ingest that referenced this issue May 25, 2024
Now with `Makefile`: `make docker`

Fixes delta-io#170
rtyler added a commit that referenced this issue May 25, 2024
Now with `Makefile`: `make docker`

Fixes #170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants