Skip to content

Commit

Permalink
chore: add Containerfile for validation
Browse files Browse the repository at this point in the history
Signed-off-by: Ernesto González <[email protected]>
  • Loading branch information
ernesgonzalez33 committed Sep 20, 2024
1 parent db6782b commit aa816ed
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build/validation/Containerfile
Original file line number Diff line number Diff line change
@@ -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" \
version="$CI_VERSION" \
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" \
maintainer="Forklift by Konveyor Community <[email protected]>"

0 comments on commit aa816ed

Please sign in to comment.