*: clarify output directory written

Also, SRC_DIR is no longer used.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2019-09-18 09:16:25 -04:00
parent 1a69fc0059
commit cdd9e3aaef
Signed by: vbatts
GPG key ID: 10937E57733F1362
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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"]