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 build cant run gnupg problem? #5

Open
iNoSec2 opened this issue Jul 22, 2020 · 6 comments
Open

docker build cant run gnupg problem? #5

iNoSec2 opened this issue Jul 22, 2020 · 6 comments

Comments

@iNoSec2
Copy link

iNoSec2 commented Jul 22, 2020

Hello,
I have an error message when trying to build the docker.
Command ran:
docker-compose build

Error message:
https://imgur.com/t0trzNp.png

Thanks

@digininja
Copy link
Owner

digininja commented Jul 22, 2020 via email

@iNoSec2
Copy link
Author

iNoSec2 commented Jul 22, 2020

I tried but failed to resolve the problem, i will screenshot the error and how i integrate the install to the docker web script.

@digininja
Copy link
Owner

digininja commented Jul 22, 2020 via email

@iNoSec2
Copy link
Author

iNoSec2 commented Jul 22, 2020

i looked a little but seems the docker mongodb have some problem, i resolve the gnupg problem but now it ask for libcurl4 and dont want to install it... i will look deeply tonight or tomorrow to make it work, i need it to make sec642 exercises ;) and i lose the vm so ;)

@digininja
Copy link
Owner

digininja commented Jul 22, 2020 via email

@digininja
Copy link
Owner

If you use the docker file on its own, it builds fine:

docker build -f Dockerfile-mongo .

You've probably checked this out already, but this link says how to fix the problem in some situations

https://stackoverflow.com/questions/50757647/e-gnupg-gnupg2-and-gnupg1-do-not-seem-to-be-installed-but-one-of-them-is-requ

but adding the extra line to the docker file for Mongo doesn't help when building with compose.

If you get anywhere with it, let me know and I'll update things, if not, I know some docker experts I can ask in the morning.

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