mirror of https://github.com/krallin/tini.git
Just copy from the image in ddist
This ensures (with the help of Docker caching) that running ./dtest.sh && ./ddist.sh results in shipping the binary that was actually tested.
This commit is contained in:
parent
0b3e77da75
commit
c35496874c
|
@ -0,0 +1 @@
|
|||
./dist
|
3
ddist.sh
3
ddist.sh
|
@ -13,7 +13,6 @@ NAME="${IMG}-dist"
|
|||
BIN="tini"
|
||||
|
||||
docker build -t "${IMG}" .
|
||||
|
||||
docker run -it --name="${NAME}" --entrypoint="bash" --workdir="/tini" "${IMG}" "-c" "make clean && make"
|
||||
docker run -it --name="${NAME}" --entrypoint="true" "${IMG}" true
|
||||
docker cp "${NAME}:/tini/${BIN}" "${DIST_DIR}"
|
||||
docker rm "${NAME}"
|
||||
|
|
Loading…
Reference in New Issue