Skip to content

Commit b3ecbb1

Browse files
committed
Merge branch 'ROS1/2-Galactic/Noetic-stuff'
2 parents 9f03abc + b041f0d commit b3ecbb1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

arm64-pet-galactic/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ RUN apt-get update -y &&\
9696
USER root
9797
RUN apt-get update -y &&\
9898
apt-get install -y \
99+
python3-pip \
99100
i2c-tools \
100101
net-tools \
101102
libraspberrypi-bin \
@@ -135,7 +136,7 @@ RUN echo '# Setting up my own fancy Terminal Prompt :-)' >> ${H
135136
echo 'source /opt/ros/galactic/setup.bash' >> /home/pet/.bashrc &&\
136137
echo "alias noetic='source /opt/ros/noetic/setup.bash'" >> ${HOMEDIR}/.bashrc &&\
137138
echo "alias galactic='source /opt/ros/galactic/setup.bash'" >> ${HOMEDIR}/.bashrc &&\
138-
echo "alias pet_source='source ${HOMEDIR}/ws_ros2-galactic/install/setup.bash'" >> ${HOMEDIR}/.bashrc
139+
echo "alias pet_source='source ${HOMEDIR}/ws_ros2/install/setup.bash'" >> ${HOMEDIR}/.bashrc
139140

140141
# Setup exit conditions
141142
USER ${DOCKERUSER}

arm64-pet-galactic/docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
# - https://hub.docker.com/r/arm64v8/ros/tags?page=1&name=galactic
4747
# - https://hub.docker.com/r/arm64v8/ros/tags?page=1&name=noetic
4848

49-
ros2:
49+
services:
50+
ros1-2:
5051
build: .
5152
image: kullken/ros2_arm64v8:pet-base-galactic
5253
container_name: pet-base-galactic_container
@@ -67,7 +68,7 @@
6768
- /dev/vchiq:/dev/vchiq:ro # Broadcom/CPU-core stuff...
6869

6970
volumes:
70-
- /home/pi/ws_ros2:/home/pet/ws_ros2:rw # Shared developing/source code folder.
71+
- /home/pi/ws_ros2-galactic:/home/pet/ws_ros2:rw # Shared developing/source code folder.
7172
- /etc/localtime:/etc/localtime:ro # Sync docker image/container date & timezone with docker-host
7273
- /proc/device-tree:/proc/device-tree:ro # Broadcom/CPU-core stuff...
7374
- /usr/bin/vcgencmd:/usr/bin/vcgencmd:ro # Broadcom/CPU-core stuff...

0 commit comments

Comments
 (0)