Browse Source

add docker file to k8

main
Nicholas Caughey 3 years ago
parent
commit
1d97dcbbdb
  1. 16
      k8s/docker/Dockerfile

16
k8s/docker/Dockerfile

@ -0,0 +1,16 @@
FROM ubi9
MAINTAINER "Mert Bugra Bicak" <mbicak@redhat.com>
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"]
Loading…
Cancel
Save