-
Notifications
You must be signed in to change notification settings - Fork 70
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
setup.py is not working with docker #28
Comments
Tried with newest release 1.1.1 and python version 2.7. |
I think it's because you didn't specify |
It works with install. Now there is another problem launch ldapcherry$ ldapcherryd -c /etc/ldapcherry/ldapcherry.ini -D After executing this command, I am having an command not found error. |
It's a bit of a guess, but maybe What happens if you try You could also try to shell into the container and do something like a |
I tried "find / -name 'ldapcherry*" and it gives /etc/ldapcherry and /usr/local/bin/ folder contains nothing. I couldn't find "ldapcherryd" anywhere. What will be the reason for it.? |
not sure. it looks like the What is the base docker image you are using? If you can share it, the DockerFile could also be useful. |
I just created ubuntu 18.04 image and I execute all the command by running the container and inside of that container. From ubuntu:18.04 It will copy the ldapcherry directory inside the image only. All the commands are executed inside the container. |
Check out https://gitlab.com/smacz/docker-ldapcherry/blob/andrewcz-homelab-179/Dockerfile FWIW, it takes a bit of finagling to set it up. |
When I try to run the "python setup.py" in a docker container, I will get an error like below
root@f9993426d228:/ldapcherry# python setup.py
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
What would be the reason for this?
The text was updated successfully, but these errors were encountered: