From 3de7d762a5fa69a21a595ed0cf00951e0de6c677 Mon Sep 17 00:00:00 2001 From: dominikn Date: Mon, 4 Mar 2024 19:49:53 +0100 Subject: [PATCH] don't using scratch --- Dockerfile.hardware | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Dockerfile.hardware b/Dockerfile.hardware index 8204127..57884a1 100644 --- a/Dockerfile.hardware +++ b/Dockerfile.hardware @@ -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 @@ -141,9 +141,3 @@ HEALTHCHECK --interval=2s --timeout=1s --start-period=30s --retries=1 \ RUN sed -i "/# /r /run_healthcheck_node.sh" /*_entrypoint.sh && \ sed -i "/# /d" /*_entrypoint.sh && \ rm -rf /run_healthcheck_node.sh - - -## =========================== Optimize size =============================== -FROM scratch - -COPY --from=final / / \ No newline at end of file