File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- FROM mdillon /postgis
1+ FROM postgis /postgis:14-3.3
22
33COPY initdb.sql docker-entrypoint-initdb.d/
44COPY serviceAccountKey.json serviceAccountKey.json
@@ -16,11 +16,11 @@ RUN chmod +x archive_command.sh
1616
1717# Install wal-g (used by backup/recovery scripts)
1818RUN apt-get update && apt-get install -y wget
19- RUN wget https://github.com/wal-g/wal-g/releases/download/v0.2.9 /wal-g.linux -amd64.tar.gz
20- RUN tar -zxvf wal-g.linux -amd64.tar.gz
21- RUN mv wal-g /usr/local/bin/wal-g
19+ RUN wget https://github.com/wal-g/wal-g/releases/download/v2.0.1 /wal-g-pg-ubuntu-20.04 -amd64.tar.gz
20+ RUN tar -zxvf wal-g-pg-ubuntu-20.04 -amd64.tar.gz
21+ RUN mv wal-g-pg-ubuntu-20.04-amd64 /usr/local/bin/wal-g
2222
23- # Do a basebackup of postgres every day
24- RUN echo "@daily bash /make_basebackup.sh" | crontab -
23+ # TODO: Do a basebackup of postgres every day
24+ # RUN echo "@daily bash /make_basebackup.sh" | crontab -
2525# Use following command to append job to cron
2626# CMD (crontab -l && echo "@daily bash ~/make_basebackup.sh") | crontab -
Original file line number Diff line number Diff line change 11# This Dockerfile is for development purposes.
22# Backups are disabled.
33
4- FROM mdillon /postgis
4+ FROM postgis /postgis:14-3.3
55
66COPY initdb.sql docker-entrypoint-initdb.d/
Original file line number Diff line number Diff line change 11# Based on latest stable postgres.
2- FROM mdillon /postgis
2+ FROM postgis /postgis:14-3.3
33
44COPY init_recovery.sh /usr/local/bin/
55COPY restore_command.sh .
You can’t perform that action at this time.
0 commit comments