diff --git a/scripts/build_component_container.sh b/scripts/build_component_container.sh index c2cee60f6..747baa179 100755 --- a/scripts/build_component_container.sh +++ b/scripts/build_component_container.sh @@ -24,9 +24,9 @@ then make -C "${executable_src_path}" --no-print-directory --quiet container CONTAINER_REPO="${CONTAINER_REPO}" DRACON_VERSION="${DRACON_VERSION}" else dockerfile_template=" - FROM ${BASE_IMAGE:-scratch} \n - COPY ${executable_path} /app/${executable} \n - ENTRYPOINT [\"/app/${executable}\"] \n + FROM ${BASE_IMAGE:-scratch} \n + COPY ${executable_path} /app/${executable_path} \n + ENTRYPOINT [\"/app/${executable_path}\"] \n " dockerfile_path=$(mktemp) printf "${dockerfile_template}" > "${dockerfile_path}"