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 #2

Closed
HoxhaEndri opened this issue Jun 26, 2023 · 2 comments
Closed

Error building docker #2

HoxhaEndri opened this issue Jun 26, 2023 · 2 comments

Comments

@HoxhaEndri
Copy link

Repository fresh cloned, I try to build the container with sudo docker-compose build, but I receive this error:
$ sudo docker-compose build

WARNING: The ENV_POSTGRES_CONF variable is not set. Defaulting to a blank string. WARNING: The PWD variable is not set. Defaulting to a blank string. Building fastcve unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /Dockerfile: no such file or directory ERROR: Service 'fastcve' failed to build : Build failed
Can you please help me?

@binareio
Copy link
Owner

binareio commented Jul 3, 2023

Don't use sudo, try to build just with docker-compose build. If you get rights error when running without the sudo, consider adding your account to the docker group.

@HoxhaEndri
Copy link
Author

Thank you, adding my user to the docker group did solve the problem.

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

No branches or pull requests

2 participants