Skip to content

Commit

Permalink
fix: docker scripts typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hmiranda-queiros committed Apr 27, 2024
1 parent 1cd27c3 commit e82c690
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docker_foxy_desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ USER $USERNAME

# Set a diretory to store the project
WORKDIR /home/$USERNAME/dev_ws/src
COPY . ./ERC_NAV
COPY . .

# Set a directory to build the project
WORKDIR /home/$USERNAME/dev_ws
Expand Down
5 changes: 3 additions & 2 deletions docker_foxy_desktop/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ docker run -it \
-v $XAUTH:$XAUTH \
-v /run/user/1000/at-spi:/run/user/1000/at-spi \
-v /dev:/dev \
-v $parent_dir:/home/xplore/dev_ws/src/ERC_NAV \
-v $parent_dir:/home/xplore/dev_ws/src \
-v nav_foxy_desktop_home_volume:/home/xplore \
ghcr.io/epflxplore/nav:foxy-desktop
ghcr.io/epflxplore/nav:foxy-desktop \
/bin/bash -c "sudo chown -R $USERNAME:$USERNAME /home/$USERNAME; /bin/bash"
2 changes: 1 addition & 1 deletion docker_foxy_jetson/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ USER $USERNAME

# Set a diretory to store the project
WORKDIR /home/$USERNAME/dev_ws/src
COPY . ./ERC_NAV
COPY . .

# Set a directory to build the project
WORKDIR /home/$USERNAME/dev_ws
Expand Down
7 changes: 4 additions & 3 deletions docker_foxy_jetson/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ docker run -it \
-v $XAUTH:$XAUTH \
-v /run/user/1000/at-spi:/run/user/1000/at-spi \
-v /dev:/dev \
-v $parent_dir:/home/xplore/dev_ws/src/ERC_NAV \
-v nav_foxy_desktop_home_volume:/home/xplore \
ghcr.io/epflxplore/nav:foxy-jetson
-v $parent_dir:/home/xplore/dev_ws/src \
-v nav_foxy_jetson_home_volume:/home/xplore \
ghcr.io/epflxplore/nav:foxy-jetson \
/bin/bash -c "sudo chown -R $USERNAME:$USERNAME /home/$USERNAME; /bin/bash"

0 comments on commit e82c690

Please sign in to comment.