Skip to content
Snippets Groups Projects
Verified Commit e587dc50 authored by Antoine Lima's avatar Antoine Lima
Browse files

Fixed X & bash_history

parent 8471aadb
No related branches found
No related tags found
No related merge requests found
Pipeline #119117 passed
workspace/
bash_history
......@@ -8,6 +8,8 @@ Docker image fitted with the right packages for SY31 + compose file to run smoot
3. Run `docker-compose up -d` to start the service as detached
4. Run `docker-compose run ros`
By default, a bash history will be synced with the one in this repo and a `workspace` folder will be created to export your work.
## Update the image
A Gitlab CI is setup to build and push an image to [registry.gitlab.utc.fr/sy31/docker](registry.gitlab.utc.fr/sy31/docker) with the lastest `Dockerfile`.
......
version: '2.2'
version: '3.8'
services:
ros:
# uncomment build and comment image to build directly from Dockerfile
......@@ -7,11 +7,12 @@ services:
network_mode: "host" # Share network with the turtlebot to freely communicate with it
container_name: ros-sy31
volumes:
- ~/sy31_workspace:/home/ws # local_machine_path:container_path
- ./workspace:/root/ws
- ./bash_history:/root/.bash_history
- /tmp/.X11-unix:/tmp/.X11-unix:rw # redirection X11
environment:
- QT_X11_NO_MITSHM=1
- ROS_MASTER_URI=http://192.168.1.1:11311 # Reference turtlebot as the master
- ROS_IP=192.168.1.138 # Adapt to current IP
- TURTLEBOT3_MODEL=burger
- DISPLAY
- DISPLAY=:0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment