mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b529d1b093
Originally I worked on this for the multi-stage build Dockerfile changes. Decided to split this out as we are still waiting for multi-stage to be available on CI and rebasing these is pretty annoying. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
14 lines
324 B
Bash
Executable file
14 lines
324 B
Bash
Executable file
#!/bin/sh
|
|
|
|
TINI_COMMIT=949e6facb77383876aeff8a6944dde66b3089574
|
|
|
|
install_tini() {
|
|
echo "Install tini version $TINI_COMMIT"
|
|
git clone https://github.com/krallin/tini.git "$GOPATH/tini"
|
|
cd "$GOPATH/tini"
|
|
git checkout -q "$TINI_COMMIT"
|
|
cmake .
|
|
make tini-static
|
|
mkdir -p ${PREFIX}
|
|
cp tini-static ${PREFIX}/docker-init
|
|
}
|