-
Notifications
You must be signed in to change notification settings - Fork 33
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
u3d/install fails to install Linux dependencies inside docker #240
Comments
Hello Ivan. The error is not related to credentials but to command execution.
Is this the right way to install the dependencies on your docker image? Maybe you need to install them yourselves using the mechanism specific to your Linux distribution. |
Thanks for clarifying what was going on. Running |
@IvanRibakov could you let me know what was preventing apt-get to run properly when ran through u3d? Thanks! |
Docker ruby container was unable to find package
And here's what I ended up hacking together for the workspace:
Keep in mind I haven't battle-tested this, just checked that all tools execute once container is built. |
@IvanRibakov thanks for the feedback. Not sure when I will have time to look into docker properly, but if you want to discuss it, feel free to drop a line |
Hey, having similar issues on ubuntu docker image trying to install with u3d. Install command seems to work. @lacostej would be great to get this working. Happy to follow up. |
Issue Checklist
u3d --help
Issue Description
I'm trying to prepare a docker container with a particular Linux version of Unity3D. I've used
ruby
image as a parent image.FROM ruby
(the only line in Dockerfile)
As I'm still experimenting I am connected to a running container directly via
docker run -it <container> /bin/bash
I was able to install latest (1.0.15) version of u3d.
However when I ran
u3d dependencies
I was prompted for user/password, even though I was already running command as root. Ok, I went and set password for root using passwd, but even when entering correct credentials, I still get an error below:Possibly not related to the original issue, but calling
u3d --help
fails with message:/bin/sh: 1: less: not found
P.S. I tried settings U3D_PASSWORD variable, but that just spared me the interactive prompt for user/pass but returned same error as mentioned earlier.
P.P.S. Ruby version that Docker image comes with is 2.5.0 if that is of any significance.
The text was updated successfully, but these errors were encountered: