Created
March 1, 2023 11:15
-
-
Save askb/0445d9b76f37846d60fd41f57dccb745 to your computer and use it in GitHub Desktop.
This file contains hidden or 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"] | |
ARG SIGN_DIR="${WORKSPACE}/m2repo" | |
ARG GIT_TAG="" | |
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}"] ["${GIT_TAG}"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment