Skip to content

Commit

Permalink
Merge pull request #106 from WadeBarnes/postgres-14
Browse files Browse the repository at this point in the history
Upgrade to Postgres 14 and go-crond 23.2.0
  • Loading branch information
WadeBarnes authored Apr 11, 2023
2 parents d777edc + 664e401 commit 8ba0ef0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This image provides a postgres installation from which to run backups
FROM centos/postgresql-13-centos7:20210722-70dc4d3
# This image provides a postgres installation from which to run backups
FROM quay.io/fedora/postgresql-14:14

# Change timezone to PST for convenience
ENV TZ=PST8PDT
Expand All @@ -17,7 +17,7 @@ COPY backup.* /
# - https://blog.danman.eu/cron-jobs-in-openshift/
# --------------------------------------------------------------------------------------------------------
ARG SOURCE_REPO=webdevops
ARG GOCROND_VERSION=22.9.1
ARG GOCROND_VERSION=23.2.0
ADD https://github.com/$SOURCE_REPO/go-crond/releases/download/$GOCROND_VERSION/go-crond.linux.amd64 /usr/bin/go-crond

USER root
Expand All @@ -31,6 +31,9 @@ RUN chmod +x /usr/bin/go-crond
RUN echo $TZ > /etc/timezone
# ========================================================================================================

# The column command is missing from quay.io/fedora/postgresql-14:14
RUN dnf install -y util-linux

# Important - Reset to the base image's user account.
USER 26

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_MSSQL
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY backup.* /
# - https://blog.danman.eu/cron-jobs-in-openshift/
# --------------------------------------------------------------------------------------------------------
ARG SOURCE_REPO=webdevops
ARG GOCROND_VERSION=22.9.1
ARG GOCROND_VERSION=23.2.0
ADD https://github.com/$SOURCE_REPO/go-crond/releases/download/$GOCROND_VERSION/go-crond.linux.amd64 /usr/bin/go-crond

USER root
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_MariaDB
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY backup.* /
# - https://blog.danman.eu/cron-jobs-in-openshift/
# --------------------------------------------------------------------------------------------------------
ARG SOURCE_REPO=webdevops
ARG GOCROND_VERSION=22.9.1
ARG GOCROND_VERSION=23.2.0
ADD https://github.com/$SOURCE_REPO/go-crond/releases/download/$GOCROND_VERSION/go-crond.linux.amd64 /usr/bin/go-crond

USER root
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile_Mongo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This image provides a mongo installation from which to run backups
# This image provides a mongo installation from which to run backups
FROM registry.access.redhat.com/rhscl/mongodb-36-rhel7

# Change timezone to PST for convenience
Expand All @@ -17,7 +17,7 @@ COPY backup.* /
# - https://blog.danman.eu/cron-jobs-in-openshift/
# --------------------------------------------------------------------------------------------------------
ARG SOURCE_REPO=webdevops
ARG GOCROND_VERSION=22.9.1
ARG GOCROND_VERSION=23.2.0
ADD https://github.com/$SOURCE_REPO/go-crond/releases/download/$GOCROND_VERSION/go-crond.linux.amd64 /usr/bin/go-crond

USER root
Expand Down

0 comments on commit 8ba0ef0

Please sign in to comment.