From e0a284e28d1d55e1f8a38b2ab1cda368061a2309 Mon Sep 17 00:00:00 2001 From: anderson-cruz-fernandes Date: Fri, 30 Jul 2021 11:27:10 -0300 Subject: [PATCH] Update Dockerfile.rh.centos Added auto accept chef's license not to break the build of the image --- Dockerfile.rh.centos | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.rh.centos b/Dockerfile.rh.centos index 116066ba..04aa2d5c 100644 --- a/Dockerfile.rh.centos +++ b/Dockerfile.rh.centos @@ -60,6 +60,7 @@ RUN curl -L https://www.getchef.com/chef/install.sh | bash \ --node_name nexus_repository_red_hat_docker_build \ --recipe-url ${NEXUS_REPOSITORY_MANAGER_COOKBOOK_URL} \ --json-attributes /var/chef/solo.json \ + --chef-license accept \ && rpm -qa *chef* | xargs rpm -e \ && rpm --rebuilddb \ && rm -rf /etc/chef \