Skip to content

Commit 8a5c964

Browse files
author
Jeff McCormick
committed
add yum update to dockerfiles
1 parent a7867d5 commit 8a5c964

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

centos7/Dockerfile.lspvc.centos7

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM centos:7
22

33
LABEL Release="1.1.0" Vendor="Crunchy Data Solutions"
44

5+
RUN yum -y update && yum -y clean all
6+
57
VOLUME ["/pgdata"]
68

79
USER 26

centos7/Dockerfile.postgres-operator.centos7

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ FROM centos:7
22

33
LABEL Release="1.1.0" Vendor="Crunchy Data Solutions"
44

5-
RUN yum -y install bind-utils \
6-
hostname \
7-
openssh-clients \
8-
procps-ng && yum -y clean all
5+
RUN yum -y update && yum -y install hostname && yum -y clean all
96

107
ADD bin/postgres-operator /usr/local/bin
118

rhel7/Dockerfile.lspvc.rhel7

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ FROM rhel7.2
22

33
LABEL Release="1.1.0" Vendor="Crunchy Data Solutions"
44

5+
RUN yum -y update && yum -y clean all
6+
7+
58
VOLUME ["/pgdata"]
69

710
USER 26

rhel7/Dockerfile.postgres-operator.rhel7

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ FROM rhel7.2
22

33
LABEL Release="1.1.0" Vendor="Crunchy Data Solutions"
44

5-
RUN yum -y install bind-utils \
6-
hostname \
7-
openssh-clients \
8-
procps-ng && yum -y clean all
5+
RUN yum -y update && yum -y clean all
96

107
ADD bin/postgres-operator /usr/local/bin
118

0 commit comments

Comments
 (0)