github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/hack/dockerfile/install/tini.installer (about)

     1  #!/bin/sh
     2  
     3  : ${TINI_COMMIT:=fec3683b971d9c3ef73f284f176672c44b448662} # v0.18.0
     4  
     5  install_tini() {
     6  	echo "Install tini version $TINI_COMMIT"
     7  	git clone https://github.com/krallin/tini.git "$GOPATH/tini"
     8  	cd "$GOPATH/tini"
     9  	git checkout -q "$TINI_COMMIT"
    10  	cmake .
    11  	make tini-static
    12  	mkdir -p "${PREFIX}"
    13  	cp tini-static "${PREFIX}/docker-init"
    14  }