Merge pull request #28 from vbatts/output_dir
*: clarify output directory written
This commit is contained in:
commit
e6d201b553
2 changed files with 1 additions and 3 deletions
|
@ -1096,6 +1096,7 @@ main() {
|
||||||
_mkdir_p "${output_dir}"
|
_mkdir_p "${output_dir}"
|
||||||
# XXX this $input_inspect_image_ref currently relies on the user passing in the `-i` flag
|
# 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}")")"
|
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
|
fi
|
||||||
|
|
||||||
if [ -n "${push_image_ref}" ] ; then
|
if [ -n "${push_image_ref}" ] ; then
|
||||||
|
|
|
@ -8,7 +8,4 @@ RUN mkdir -p /output
|
||||||
ENV OUTPUT_DIR=/output
|
ENV OUTPUT_DIR=/output
|
||||||
VOLUME /output
|
VOLUME /output
|
||||||
|
|
||||||
ENV SRC_DIR=/src
|
|
||||||
VOLUME /src
|
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh"]
|
ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh"]
|
||||||
|
|
Loading…
Reference in a new issue