Skip to content

Commit

Permalink
fixing little stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tharp789 committed Nov 23, 2024
1 parent e3da10b commit ab4ca13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docker/Dockerfile.mine
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ RUN python3 -m pip install --upgrade cython
WORKDIR /root/ros_ws

# add bash aliases
RUN echo "alias setup='sudo apt update && rosdep update && rosdep install --from-paths src --ignore-src -r -y # install dependencies && \
RUN echo "alias setup='cd ~/ros_ws/ && sudo apt update && rosdep update && rosdep install --from-paths src --ignore-src -r -y # install dependencies && \
colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release --parallel-workers $(nproc) # build the workspace && \
echo source $(pwd)/install/local_setup.bash >> ~/.bashrc # automatically source the installation in every new bash (optional) && source ~/.bashrc'" >> ~/.bashrc


# # Setup environment variables
# COPY ros_entrypoint_jetson.sh /sbin/ros_entrypoint.sh
# RUN sudo chmod 755 /sbin/ros_entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ docker run --runtime nvidia -it --privileged --ipc=host --pid=host -e NVIDIA_DRI
-v /var/nvidia/nvcam/settings/:/var/nvidia/nvcam/settings/ \
-v /etc/systemd/system/zed_x_daemon.service:/etc/systemd/system/zed_x_daemon.service \
-v ${HOME}/zed_docker_ai/:/usr/local/zed/resources/ \
-v ${pwd}/../ros_ws/:/root/ros_ws/ \
-v $(pwd)/../ros_ws/:/root/ros_ws/ \
$CONTAINER_NAME

0 comments on commit ab4ca13

Please sign in to comment.