Fix: Make sure reno has enough commits
[releng/global-jjb.git] / docker / Dockerfile
1 FROM centos:7
2 SHELL ["/bin/bash", "-c"]
3
4 ARG SIGN_DIR="${WORKSPACE}/m2repo"
5
6 RUN echo $'[fedora-infra-sigul] \n\
7 name=Fedora builder packages for sigul \n\
8 baseurl=https://kojipkgs.fedoraproject.org/repos-dist/epel\$releasever-infra/latest/\$basearch/ \n\
9 enabled=1 \n\
10 gpgcheck=1 \n\
11 gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS \n\
12 includepkgs=sigul* \n\
13 skip_if_unavailable=True' > /etc/yum.repos.d/fedora-infra-sigul.repo
14
15 RUN yum install -y -q sigul
16
17 RUN mkdir -p /w/workspace && mkdir -p /home/jenkins
18
19 COPY ./sigul-sign.sh /
20 USER root
21
22 ENTRYPOINT ["/bin/bash", "/sigul-sign.sh"]
23 CMD ["${SIGN_DIR}"]