1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-23 01:24:11 +02:00
pgbackrest/test/vm/docker/co6-db

17 lines
433 B
Plaintext

# CentOS 6 Database Container
FROM vagrant/co6-base
# Install Postgres
RUN yum -y install postgresql94-server
# Create pg_backrest.conf
RUN touch /etc/pg_backrest.conf
RUN chmod 640 /etc/pg_backrest.conf
RUN chown postgres:postgres /etc/pg_backrest.conf
# Setup SSH
RUN mkdir /home/postgres/.ssh
RUN cp /root/resource/.ssh/* /home/postgres/.ssh
RUN chown -R postgres:postgres /home/postgres/.ssh
RUN chmod 700 /home/postgres/.ssh