diff --git a/Dockerfile b/Dockerfile index a4496603..6725e778 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,9 @@ RUN pip3 install -r python-requirements.txt RUN echo 'source "/opt/ros/humble/setup.bash" --' >> ~/.bashrc && \ - echo 'cd rb_ws' >> ~/.bashrc + echo 'cd rb_ws' >> ~/.bashrc && \ + echo 'colcon build --symlink-install' >> ~/.bashrc && \ + echo 'source install/local_setup.bash' >> ~/.bashrc # RUN echo 'source "/opt/ros/humble/setup.bash" --' >> ~/.bashrc && \ # echo 'cd rb_ws' >> ~/.bashrc && \ # echo 'catkin_make >/dev/null' >> ~/.bashrc && \ diff --git a/rb_ws/src/buggy/buggy/hello_world.py b/rb_ws/src/buggy/buggy/hello_world.py index 82e13fc2..0a119aa0 100644 --- a/rb_ws/src/buggy/buggy/hello_world.py +++ b/rb_ws/src/buggy/buggy/hello_world.py @@ -1,5 +1,5 @@ def main(): - print('Hi from buggy.') + print('Hi from buggy. Hello again') if __name__ == '__main__':