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> Upstream-commit: b529d1b0936b90ae14d584c73f7332919f8d76b7 Component: engine
15 lines
324 B
Bash
Executable File
15 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
|
|
}
|