From dba47e1b2ae1c68ca68d90005354edb3440c95f9 Mon Sep 17 00:00:00 2001 From: PHAM DUC DUNG Date: Tue, 16 Jun 2020 19:14:30 +0900 Subject: [PATCH] Update Dockerfile.rh.centos --- Dockerfile.rh.centos | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.rh.centos b/Dockerfile.rh.centos index ad18b46f..97ae118c 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 \