Skip to content

Commit

Permalink
fix dockerfiles to specify pg10, also change the Makefile setup targe…
Browse files Browse the repository at this point in the history
…t to not install rbac rules, create new makefile target called installrbac for that purpose
  • Loading branch information
Jeff McCormick committed Aug 19, 2018
1 parent 56480d8 commit 16a3801
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -43,9 +43,10 @@ gendeps:
github.com/crunchydata/postgres-operator/apiserver/userservice \
github.com/crunchydata/postgres-operator/apiserver/util \
github.com/crunchydata/postgres-operator/apiserver/versionservice
installrbac:
cd deploy && ./install-rbac.sh
setup:
./bin/get-deps.sh
cd deploy && ./install-rbac.sh
cd examples/backrest-config && ./create.sh
setupnamespace:
kubectl create -f ./examples/demo-namespace.json
Expand Down
2 changes: 1 addition & 1 deletion rhel7/Dockerfile.pgo-apiserver.rhel7
Expand Up @@ -21,7 +21,7 @@ COPY redhat/licenses /licenses
# Crunchy PostgreSQL repository

ADD conf/CRUNCHY-GPG-KEY.public /
ADD conf/crunchypg96.repo /etc/yum.repos.d/
ADD conf/crunchypg10.repo /etc/yum.repos.d/
RUN rpm --import CRUNCHY-GPG-KEY.public

RUN yum -y update && yum -y install postgresql${PGVERSION} hostname && yum -y clean all
Expand Down
2 changes: 1 addition & 1 deletion rhel7/Dockerfile.pgo-load.rhel7
Expand Up @@ -21,7 +21,7 @@ COPY redhat/licenses /licenses
# Crunchy PostgreSQL repository

ADD conf/CRUNCHY-GPG-KEY.public /
ADD conf/crunchypg96.repo /etc/yum.repos.d/
ADD conf/crunchypg10.repo /etc/yum.repos.d/
RUN rpm --import CRUNCHY-GPG-KEY.public

RUN rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Expand Down
2 changes: 1 addition & 1 deletion rhel7/Dockerfile.postgres-operator.rhel7
Expand Up @@ -21,7 +21,7 @@ COPY redhat/licenses /licenses
# Crunchy PostgreSQL repository

ADD conf/CRUNCHY-GPG-KEY.public /
ADD conf/crunchypg96.repo /etc/yum.repos.d/
ADD conf/crunchypg10.repo /etc/yum.repos.d/
RUN rpm --import CRUNCHY-GPG-KEY.public

RUN yum -y update && yum -y install postgresql${PGVERSION} && yum -y clean all
Expand Down

0 comments on commit 16a3801

Please sign in to comment.