From b3cc2ab24e0097d3365277e362aaecfbf97763fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ernesto=20Gonz=C3=A1lez?= Date: Thu, 19 Sep 2024 19:40:21 +0200 Subject: [PATCH] chore: add Containerfile for validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ernesto González --- build/validation/Containerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 build/validation/Containerfile diff --git a/build/validation/Containerfile b/build/validation/Containerfile new file mode 100644 index 000000000..06ed49874 --- /dev/null +++ b/build/validation/Containerfile @@ -0,0 +1,17 @@ +FROM registry.access.redhat.com/ubi9-minimal:9.4-1227.1725849298 +RUN curl https://github.com/open-policy-agent/opa/releases/download/v0.62.1/opa_linux_amd64 -o /usr/bin/opa +COPY validation/policies /usr/share/opa/policies/ +COPY validation/entrypoint.sh /usr/bin/ + +ENTRYPOINT ["/usr/bin/entrypoint.sh"] + +LABEL \ + com.redhat.component="forklift-validation-container" \ + name="forklift/forklift-validation-rhel9" \ + license="Apache License 2.0" \ + io.k8s.display-name="Forklift" \ + io.k8s.description="Forklift - Validation Service" \ + io.openshift.tags="migration,mtv,forklift" \ + summary="Forklift - Validation Service" \ + description="Forklift - Validation Service" \ + maintainer="Forklift by Konveyor Community "