Checking the moby-buildx and moby-buildx documentation has been added

This commit is contained in:
Andy Mishechkin
2020-04-21 15:42:06 +04:00
parent d2f31e25f5
commit 4729069659

View File

@@ -26,6 +26,9 @@ echo "Testing to make sure that script performed as expected, and basic scenario
if ! command -v docker; then
echo "docker was not installed"
exit 1
else if ! command -v docker buildx build then
echo "moby-buildx was not installed"
#exit 1
else
# Docker daemon takes time to come up after installing
sleep 10
@@ -51,3 +54,7 @@ docker pull ubuntu:14.04
echo "Documenting Docker version"
docker_version=$(docker -v)
DocumentInstalledItem "Docker-Moby ($docker_version)"
echo "Documenting moby-buildx version"
moby_buildx_version=$(docker buildx -v)
DocumentInstalledItem "Moby-Buildx ($moby_buildx_version)"