Skip to content

Commit

Permalink
fixup! fix CONTAINER_REPO for dev-* targets and Makefile formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ptzianos committed Sep 12, 2024
1 parent 95db869 commit f3474e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/build_component_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit f3474e4

Please sign in to comment.