From 10546d66070aeeb808a661e0d8f05ffe9912faf0 Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Tue, 20 Oct 2020 18:40:37 +0100 Subject: [PATCH] Run pip check at the end of container building (#2910) --- Dockerfile | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9463f2d36d..4cef8261b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -187,18 +187,8 @@ python3 -m pip install \ ${PIP_INSTALL_ARGS} \ "molecule[${MOLECULE_EXTRAS}]" testinfra ${MOLECULE_PLUGINS} && \ molecule --version && \ -molecule drivers | grep azure && \ -molecule drivers | grep containers && \ -molecule drivers | grep digitalocean && \ -molecule drivers | grep docker && \ -molecule drivers | grep ec2 && \ -molecule drivers | grep gce && \ -molecule drivers | grep libvirt && \ -molecule drivers | grep lxd && \ -molecule drivers | grep openstack && \ -molecule drivers | grep podman && \ -molecule drivers | grep vagrant && \ -true +molecule drivers && \ +pip check # running molecule commands adds a minimal level fail-safe about build success ENV SHELL /bin/bash