diff --git a/k8s/docker/Dockerfile b/k8s/docker/Dockerfile new file mode 100644 index 0000000..9afae1e --- /dev/null +++ b/k8s/docker/Dockerfile @@ -0,0 +1,16 @@ +FROM ubi9 +MAINTAINER "Mert Bugra Bicak" + + + +RUN curl http://hdn.corp.redhat.com/rhel7-csb-stage/RPMS/noarch/redhat-internal-cert-install-0.1-31.el7.noarch.rpm -o redhat-internal-cert-install-0.1-28.el7.noarch.rpm && dnf install -y chkconfig java-headless && rpm -i redhat-internal-cert-install-0.1-28.el7.noarch.rpm && rm redhat-internal-cert-install-0.1-28.el7.noarch.rpm + +RUN curl -L http://download.devel.redhat.com/rel-eng/RCMTOOLS/rcm-tools-rhel-9-baseos.repo -o /etc/yum.repos.d/rcm-tools-rhel-9-baseos.repo + +RUN dnf -y update && dnf install -y dnf-plugins-core https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && dnf copr enable -y copr.devel.redhat.com/kdudka/covscan && dnf install -y covscan-client koji brewkoji krb5-workstation + +RUN mkdir /home/covscan && chmod g+rw /home/covscan +WORKDIR /home/covscan + + +ENTRYPOINT ["covscan"]