latest pushes
This commit is contained in:
parent
9c83c4fa00
commit
e7d107b744
@ -84,5 +84,10 @@ RUN cd $CATKIN_WS \
|
||||
&& rosdep fix-permissions \
|
||||
&& rosdep install -y --from-paths . --ignore-src --rosdistro ${ROS_VERSION}
|
||||
|
||||
# Always source catkin_setup.sh when launching bash
|
||||
COPY ../scripts/catkin_setup.sh /usr/local/bin/catkin_setup.sh
|
||||
RUN echo "source /usr/local/bin/catkin_setup.sh" >> /root/.bashrc
|
||||
RUN chmod +x /usr/local/bin/catkin_setup.sh
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/catkin_setup.sh"]
|
||||
CMD ["bash"]
|
||||
|
1
scripts/.gitignore
vendored
1
scripts/.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
push.sh
|
||||
fix_errors.sh
|
||||
repository_recal.sh
|
||||
test.sh
|
||||
|
@ -16,6 +16,6 @@
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
catkin build
|
||||
source "/opt/ros/noetic/setup.bash"
|
||||
source "$CATKIN_WS/devel/setup.bash"
|
||||
colcon build
|
||||
source "/opt/ros/foxy/setup.bash"
|
||||
source "$CATKIN_WS/install/setup.bash"
|
||||
|
Loading…
Reference in New Issue
Block a user