File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,6 @@ docker run --rm \
5353 -v $( pwd) :$( pwd) \
5454 -w $( pwd) \
5555 -u $( id -u) :$( id -g) \
56- --entrypoint=" bash " \
56+ --entrypoint=" sh " \
5757 ${IMAGE} \
58- -c " cp --preserve=timestamps -R /artifacts/* ${DIST_DIR} "
58+ -c " cp -p -R /artifacts/* ${DIST_DIR} "
Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ function copy-file() {
7070 -v " $( pwd) :$( pwd) " \
7171 -w " $( pwd) " \
7272 -u " $( id -u) :$( id -g) " \
73- --entrypoint=" bash " \
73+ --entrypoint=" sh " \
7474 " ${image} " \
75- -c " cp ${path_in_image} ${path_on_host} "
75+ -c " cp -p ${path_in_image} ${path_on_host} "
7676 fi
7777}
7878
Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ function copy_file() {
9696 -v " $( pwd) :$( pwd) " \
9797 -w " $( pwd) " \
9898 -u " $( id -u) :$( id -g) " \
99- --entrypoint=" bash " \
99+ --entrypoint=" sh " \
100100 " ${image} " \
101- -c " cp ${path_in_image} ${path_on_host} "
101+ -c " cp -p ${path_in_image} ${path_on_host} "
102102 fi
103103}
104104
You can’t perform that action at this time.
0 commit comments