SoftServeSAG / spot_simulation

This repository contains examples of simulation for Boston Dynamic's robot Spot
BSD 3-Clause "New" or "Revised" License
58 stars 8 forks source link

Broken key in the docker image #5

Closed sskorol closed 2 years ago

sskorol commented 2 years ago

Hi @tarasborov,

I tried to follow README and faced the following issue while building a docker image:

Screenshot from 2021-12-09 11-11-15

Just Googled a fix for that here: https://answers.ros.org/question/325039/apt-update-fails-cannot-install-pkgs-key-not-working/

I added the following lines before doing update:

RUN sudo apt-key del 421C365BD9FF1F717815A3895523BAEEB01FA116
RUN sudo -E apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

Plus cleanup:

RUN sudo apt clean && apt-get update && apt-get install -y \

And it has been correctly built. So you may want to update your Dockerfile as well.

tarasborov commented 2 years ago

Thanks. The docker file was updated.