Skip to content

Commit e833b7a

Browse files
author
jmccormick2001
committed
add crunchy yum repo to dockerfiles for scanning
1 parent 001c41a commit e833b7a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

rhel7/Dockerfile.pgo-lspvc.rhel7

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ COPY redhat/atomic/pgo_lspvc/help.1 /help.1
1414
COPY redhat/atomic/pgo_lspvc/help.md /help.md
1515
COPY redhat/licenses /licenses
1616

17+
ADD conf/RPM-GPG-KEY-crunchydata /
18+
ADD conf/crunchypg11.repo /etc/yum.repos.d/
19+
RUN rpm --import RPM-GPG-KEY-crunchydata
20+
21+
1722
RUN yum -y update && yum -y clean all
1823

1924
#RUN mkdir -p /opt/cpm/bin && chown -R 26:26 /opt/cpm

rhel7/Dockerfile.pgo-rmdata.rhel7

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ COPY redhat/atomic/pgo_rmdata/help.1 /help.1
1414
COPY redhat/atomic/pgo_rmdata/help.md /help.md
1515
COPY redhat/licenses /licenses
1616

17+
ADD conf/RPM-GPG-KEY-crunchydata /
18+
ADD conf/crunchypg11.repo /etc/yum.repos.d/
19+
RUN rpm --import RPM-GPG-KEY-crunchydata
20+
21+
1722
RUN yum -y update && yum -y clean all
1823

1924
RUN mkdir -p /opt/cpm/bin

0 commit comments

Comments
 (0)