Skip to content

Commit 63efaaf

Browse files
author
jmccormick2001
committed
fix Makefile target for rmdata image, fix pgo-backrest-repo dockerfile to match rhel version
1 parent abd07d6 commit 63efaaf

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ all:
130130
make pgo
131131
make lsimage
132132
make loadimage
133-
make rmdataimage
133+
make pgo-rmdata-image
134134
make sqlrunnerimage
135135
make pgo-backrest-image
136136
make pgo-backrest-restore-image

centos7/Dockerfile.pgo-backrest-repo.centos7

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,15 @@ RUN chmod +x /usr/local/bin/pgo-backrest-repo.sh && mkdir -p /opt/cpm/bin && cho
2525

2626
ADD bin/uid_pgbackrest.sh /opt/cpm/bin
2727

28-
VOLUME ["/sshd", "/backrestrepo" ]
28+
RUN chmod g=u /etc/passwd && \
29+
chmod g=u /etc/group
30+
31+
RUN mkdir /.ssh && chown pgbackrest:pgbackrest /.ssh && chmod o+rwx /.ssh
2932

3033
USER pgbackrest
3134

35+
ENTRYPOINT ["/opt/cpm/bin/uid_pgbackrest.sh"]
36+
37+
VOLUME ["/sshd", "/backrestrepo" ]
38+
3239
CMD ["pgo-backrest-repo.sh"]

0 commit comments

Comments
 (0)