From 78e1cceccc58d9d6fd7dfa651e49d876afcbccde Mon Sep 17 00:00:00 2001 From: Ryan Cragun Date: Thu, 29 Aug 2024 09:14:09 -0600 Subject: [PATCH] ubi: fix HasLicense Redhat requirement (#28216) Signed-off-by: Ryan Cragun --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 98f200c7d8..254a264319 100644 --- a/Dockerfile +++ b/Dockerfile @@ -104,6 +104,9 @@ ENV VERSION=$VERSION # Copy the license file as per Legal requirement COPY LICENSE /usr/share/doc/$NAME/LICENSE.txt +# We must have a copy of the license in this directory to comply with the HasLicense Redhat requirement +COPY LICENSE /licenses/LICENSE.txt + # Set up certificates, our base tools, and Vault. Unlike the other version of # this (https://github.com/hashicorp/docker-vault/blob/master/ubi/Dockerfile), # we copy in the Vault binary from CRT.