Skip to content

Commit

Permalink
don't using scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikN committed Mar 4, 2024
1 parent 5de9ead commit 3de7d76
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Dockerfile.hardware
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ RUN git clone --depth 1 -b master https://github.com/husarion/rosbot_xl_ros.git
rm -rf build log src

## =========================== Final Stage ===============================
FROM husarnet/ros:${PREFIX}${ROS_DISTRO}-ros-core AS final
FROM husarnet/ros:${PREFIX}${ROS_DISTRO}-ros-core

ARG ROS_DISTRO
ARG PREFIX
Expand Down Expand Up @@ -141,9 +141,3 @@ HEALTHCHECK --interval=2s --timeout=1s --start-period=30s --retries=1 \
RUN sed -i "/# <additional-user-commands>/r /run_healthcheck_node.sh" /*_entrypoint.sh && \
sed -i "/# <additional-user-commands>/d" /*_entrypoint.sh && \
rm -rf /run_healthcheck_node.sh


## =========================== Optimize size ===============================
FROM scratch

COPY --from=final / /

0 comments on commit 3de7d76

Please sign in to comment.