Fix runc and critools version in release.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
b3f733f0ad
commit
6afd137c02
@ -29,7 +29,7 @@ GOPATH=${TMPGOPATH}
|
|||||||
#Install crictl
|
#Install crictl
|
||||||
checkout_repo ${CRITOOL_PKG} ${CRITOOL_VERSION} ${CRITOOL_REPO}
|
checkout_repo ${CRITOOL_PKG} ${CRITOOL_VERSION} ${CRITOOL_REPO}
|
||||||
cd ${GOPATH}/src/${CRITOOL_PKG}
|
cd ${GOPATH}/src/${CRITOOL_PKG}
|
||||||
make
|
make VERSION=${CRITOOL_VERSION}
|
||||||
${SUDO} make install -e BINDIR=${CRITOOL_DIR} GOPATH=${GOPATH}
|
${SUDO} make install -e BINDIR=${CRITOOL_DIR} GOPATH=${GOPATH}
|
||||||
${SUDO} mkdir -p ${CRICTL_CONFIG_DIR}
|
${SUDO} mkdir -p ${CRICTL_CONFIG_DIR}
|
||||||
${SUDO} bash -c 'cat >'${CRICTL_CONFIG_DIR}'/crictl.yaml <<EOF
|
${SUDO} bash -c 'cat >'${CRICTL_CONFIG_DIR}'/crictl.yaml <<EOF
|
||||||
|
@ -30,7 +30,7 @@ GOPATH=${TMPGOPATH}
|
|||||||
from-vendor RUNC github.com/opencontainers/runc
|
from-vendor RUNC github.com/opencontainers/runc
|
||||||
checkout_repo ${RUNC_PKG} ${RUNC_VERSION} ${RUNC_REPO}
|
checkout_repo ${RUNC_PKG} ${RUNC_VERSION} ${RUNC_REPO}
|
||||||
cd ${GOPATH}/src/${RUNC_PKG}
|
cd ${GOPATH}/src/${RUNC_PKG}
|
||||||
make static BUILDTAGS="$BUILDTAGS"
|
make static BUILDTAGS="$BUILDTAGS" VERSION=${RUNC_VERSION}
|
||||||
${SUDO} make install -e DESTDIR=${RUNC_DIR}
|
${SUDO} make install -e DESTDIR=${RUNC_DIR}
|
||||||
|
|
||||||
# Clean the tmp GOPATH dir. Use sudo because runc build generates
|
# Clean the tmp GOPATH dir. Use sudo because runc build generates
|
||||||
|
Loading…
Reference in New Issue
Block a user