Created
May 26, 2022 22:58
-
-
Save askb/2feb911f9d18ba039344e697fba87b7b to your computer and use it in GitHub Desktop.
Dockerfile to build CentOS 7 container with Sigul installed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:7 | |
SHELL ["/bin/bash", "-c"] | |
RUN echo $'[fedora-infra-sigul] \n\ | |
name=Fedora builder packages for sigul \n\ | |
baseurl=https://kojipkgs.fedoraproject.org/repos-dist/epel\$releasever-infra/latest/\$basearch/ \n\ | |
enabled=1 \n\ | |
gpgcheck=1 \n\ | |
gpgkey=https://infrastructure.fedoraproject.org/repo/infra/RPM-GPG-KEY-INFRA-TAGS \n\ | |
includepkgs=sigul* \n\ | |
skip_if_unavailable=True' > /etc/yum.repos.d/fedora-infra-sigul.repo | |
RUN yum install -y -q sigul | |
RUN mkdir -p /w/workspace && mkdir -p /home/jenkins | |
COPY ./sigul-sign.sh / | |
USER root | |
ENTRYPOINT ["/bin/bash", "/sigul-sign.sh"] | |
CMD ["${SIGN_DIR}"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment