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

How do I build this on my own computer? #1

Open
pitosalas opened this issue Jan 26, 2019 · 3 comments
Open

How do I build this on my own computer? #1

pitosalas opened this issue Jan 26, 2019 · 3 comments
Assignees

Comments

@pitosalas
Copy link

Sorry for the trivial question... When I try to build this (on MacOS), I get an error that seems like it should not be there. I would appreciate it if you could help me understand:

docker build .
Sending build context to Docker daemon  84.99kB
Step 1/17 : FROM dorowu/ubuntu-desktop-lxde-vnc
 ---> 68b31e964e2f
Step 2/17 : LABEL maintainer "[email protected]"
 ---> Using cache
 ---> fc318c59a9cb
Step 3/17 : RUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
 ---> Using cache
 ---> 4c5834d16ba5
Step 4/17 : RUN apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
 ---> Running in 508312d8a3a4
Warning: apt-key output should not be parsed (stdout is not a terminal)
Executing: /tmp/apt-key-gpghome.HfFs84vHCx/gpg.1.sh --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.HfFs84vHCx/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr
The command '/bin/sh -c apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116' returned a non-zero code: 2
~/m/rosdocker (master *☡=)
@bpinaya
Copy link
Owner

bpinaya commented Feb 5, 2019

Hey there! It seems to be an issue with this line:

RUN apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

That one is for installing ROS. Give me a couple days and I'll update you with more details. Thanks for pointing it out, I never tried this on Mac.
Can you give me your docker --version ?

@bpinaya bpinaya self-assigned this Feb 5, 2019
@bpinaya
Copy link
Owner

bpinaya commented Feb 5, 2019

Seems to be a proxy error, do you have a firewall set up or something?
Check:

@ozangungor12
Copy link

Hey! I had the same problem while building this image on my computer and the problem is that dirmngr is not installed.

gpg: keyserver receive failed: No dirmngr

I solved it by adding the following line to the beginning of the Dockerfile:

RUN apt-get install dirmngr -y

If it complains that package is not available, just run apt-get update before the command and it should fix it.

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

3 participants