Merge pull request #28 from vbatts/output_dir

*: clarify output directory written
This commit is contained in:
Vincent Batts 2019-09-18 18:18:34 +02:00 committed by GitHub
commit e6d201b553
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"]