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

Error building docker image (make: *** No rule to make target 'clean'. Stop.) #518

Closed
depaolim opened this issue Apr 13, 2024 · 2 comments
Closed

Comments

@depaolim
Copy link

Hi

When I try to build the image for docker I get the following error:

make: *** No rule to make target 'clean'.  Stop.

Steps to reproduce:

uname -a
# Linux XXXX 5.15.0-102-generic #112~20.04.1-Ubuntu SMP Thu Mar 14 14:28:24 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
mkdir docker
cd docker
wget https://raw.githubusercontent.com/pgvector/pgvector/master/Dockerfile
docker build -t postgres_with_pgvector .

Any hint?
Am I missing something?

Thank you,
Marco

@BillSmith-EDB
Copy link

BillSmith-EDB commented Apr 13, 2024

@depaolim it doesn't look like you pulled down the pgvector source. See the docker steps here:
https://github.com/pgvector/pgvector?tab=readme-ov-file#docker

git clone --branch v0.6.2 https://github.com/pgvector/pgvector.git; cd pgvector;docker build --build-arg PG_MAJOR=16 -t myuser/pgvector .

@depaolim
Copy link
Author

Great, it works! Thank you!
It seems I missed something fundamental ... :-)

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

No branches or pull requests

2 participants