Skip to content

Commit

Permalink
ROS containers: do not define the entrypoint again
Browse files Browse the repository at this point in the history
  • Loading branch information
TSC21 committed Jun 28, 2020
1 parent e95590f commit 0ff5f46
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 49 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ jobs:
- uses: actions/checkout@v1
- uses: julianoes/Publish-Docker-Github-Action@master
with:
name: px4io/px4-dev-ros-melodic
name: px4io/px4-dev-ros-noetic
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: docker/Dockerfile_ros-noetic
Expand Down
6 changes: 0 additions & 6 deletions docker/Dockerfile_ros-kinetic
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,3 @@ RUN pip install argcomplete argparse catkin_pkg catkin-tools cerberus coverage \

# bootstrap rosdep
RUN rosdep init && rosdep update

# create and start as LOCAL_USER_ID
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

CMD ["/bin/bash"]
6 changes: 0 additions & 6 deletions docker/Dockerfile_ros-melodic
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,3 @@ RUN pip install argcomplete argparse catkin_pkg catkin-tools cerberus coverage \

# bootstrap rosdep
RUN rosdep init && rosdep update

# create and start as LOCAL_USER_ID
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

CMD ["/bin/bash"]
6 changes: 0 additions & 6 deletions docker/Dockerfile_ros-noetic
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,3 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6B

# bootstrap rosdep
RUN rosdep init && rosdep update

# create and start as LOCAL_USER_ID
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

CMD ["/bin/bash"]
6 changes: 0 additions & 6 deletions docker/Dockerfile_ros2-ardent
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,3 @@ RUN colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mix
&& colcon mixin update \
&& colcon metadata add default https://raw.githubusercontent.com/colcon/colcon-metadata-repository/master/index.yaml \
&& colcon metadata update

# create and start as LOCAL_USER_ID
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

CMD ["/bin/bash"]
6 changes: 0 additions & 6 deletions docker/Dockerfile_ros2-bouncy
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,3 @@ RUN git clone --recursive https://github.com/eProsima/Fast-DDS-Gen.git -b v1.0.4
&& gradle assemble \
&& gradle install \
&& rm -rf /tmp/*

# create and start as LOCAL_USER_ID
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

CMD ["/bin/bash"]
6 changes: 0 additions & 6 deletions docker/Dockerfile_ros2-crystal
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,3 @@ RUN rm -rf /usr/local/include/fastrtps /usr/local/share/fastrtps /usr/local/lib/
&& cmake -DBUILD_JAVA=ON -DTHIRDPARTY=ON -DSECURITY=ON .. \
&& cmake --build . --target install -- -j $(nproc) \
&& rm -rf /tmp/*

# create and start as LOCAL_USER_ID
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

CMD ["/bin/bash"]
6 changes: 0 additions & 6 deletions docker/Dockerfile_ros2-dashing
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,3 @@ RUN colcon mixin add default https://raw.githubusercontent.com/colcon/colcon-mix
&& colcon mixin update \
&& colcon metadata add default https://raw.githubusercontent.com/colcon/colcon-metadata-repository/master/index.yaml \
&& colcon metadata update

# create and start as LOCAL_USER_ID
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

CMD ["/bin/bash"]
6 changes: 0 additions & 6 deletions docker/Dockerfile_ros2-eloquent
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,3 @@ RUN rm -rf /usr/local/include/fastrtps /usr/local/share/fastrtps /usr/local/lib/
&& cmake -DTHIRDPARTY=ON -DSECURITY=ON .. \
&& cmake --build . --target install -- -j $(nproc) \
&& rm -rf /tmp/*

# create and start as LOCAL_USER_ID
COPY scripts/entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

CMD ["/bin/bash"]

0 comments on commit 0ff5f46

Please sign in to comment.