From cdd9e3aaef31bbb3f79af25f6de02d6c7c263134 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 18 Sep 2019 09:16:25 -0400 Subject: [PATCH] *: clarify output directory written Also, SRC_DIR is no longer used. Signed-off-by: Vincent Batts --- BuildSourceImage.sh | 1 + Dockerfile | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/BuildSourceImage.sh b/BuildSourceImage.sh index f146934..84b0248 100755 --- a/BuildSourceImage.sh +++ b/BuildSourceImage.sh @@ -1096,6 +1096,7 @@ main() { _mkdir_p "${output_dir}" # XXX this $input_inspect_image_ref currently relies on the user passing in the `-i` flag push_img "oci:$src_img_dir:${src_img_tag}" "oci:$output_dir:$(ref_src_img_tag "$(parse_img_tag "${input_inspect_image_ref}")")" + _info "copied to oci:$output_dir:$(ref_src_img_tag "$(parse_img_tag "${input_inspect_image_ref}")")" fi if [ -n "${push_image_ref}" ] ; then diff --git a/Dockerfile b/Dockerfile index b33ecd8..d6a4727 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,4 @@ RUN mkdir -p /output ENV OUTPUT_DIR=/output VOLUME /output -ENV SRC_DIR=/src -VOLUME /src - ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh"]