File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 2
2
.github /*
3
3
.idea /*
4
4
.vscode /*
5
- docker /*
6
5
.git /*
7
- target /*
6
+ target /*
7
+ docker /Dockerfile
8
+ docker /docker-compose.yaml
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ RUN groupadd --gid $GID $USERNAME \
39
39
# Set the ownership of the overlay workspace to the new user
40
40
RUN chown -R ${UID}:${GID} /ws
41
41
42
- RUN groupadd fuse \
42
+ RUN groupadd fuse\
43
43
&& usermod -aG fuse,video ${USERNAME}
44
44
45
45
# Set the user and source entrypoint in the user's .bashrc file
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ services:
12
12
- /tmp/.X11-unix:/tmp/.X11-unix:rw
13
13
- ${XAUTHORITY:-$HOME/.Xauthority}:/root/.Xauthority
14
14
- /dev/shm:/dev/shm
15
+ - /var/run/docker.sock:/var/run/docker.sock
15
16
environment :
16
17
- DISPLAY=${DISPLAY}
17
18
network_mode : host
Original file line number Diff line number Diff line change 12
12
# echo "Sourced TurtleBot4 base workspace"
13
13
fi
14
14
15
+ sudo groupadd -g $( stat -c " %g" /var/run/docker.sock) docker & > /dev/null
16
+ sudo usermod -aG docker $( id -nu)
17
+
15
18
# if [ "$EUID" -gt 0 ]; then
16
19
# sudo chown -R ${UID}:${UID} ~/.ros
17
20
# sudo chown -R ${UID}:${UID} ~/.ignition
You can’t perform that action at this time.
0 commit comments