Curl is missing from gazebo image

it may be to be installed for the tutorial
This commit is contained in:
ruffsl 2017-02-03 13:48:50 -08:00
parent 8f6e02b583
commit 913499ee92
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Robot simulation is an essential tool in every roboticist's toolbox. A well-desi
## Create a `Dockerfile` in your Gazebo project
```dockerfile
FROM gazebo:gzserver5
FROM gazebo:gzserver8
# place here your application's setup specifics
CMD [ "gzserver", "my-gazebo-app-args" ]
```
@ -69,6 +69,7 @@ $ docker run -d -v="/tmp/.gazebo/:/root/.gazebo/" --name=gazebo gazebo
```console
$ docker exec -it gazebo bash
$ apt-get update && apt-get install -y curl
$ curl -o double_pendulum.sdf http://models.gazebosim.org/double_pendulum_with_base/model-1_4.sdf
$ gz model --model-name double_pendulum --spawn-file double_pendulum.sdf
```