Fix PG Backups
This commit is contained in:
1 parent
81ca061966
commit
b95a8f1b8e
1 file changed
+9
-1
+9
-1
@@ -14,6 +14,14 @@ ENV TZ="Europe/Prague" \
|
||||
# Timezone
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
# Register PostgreSQL (PGDG) APT repository
|
||||
RUN install -d /usr/share/postgresql-common/pgdg && \
|
||||
curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail \
|
||||
https://www.postgresql.org/media/keys/ACCC4CF8.asc && \
|
||||
. /etc/os-release && \
|
||||
echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt ${VERSION_CODENAME}-pgdg main" \
|
||||
> /etc/apt/sources.list.d/pgdg.list
|
||||
|
||||
# Install Additional System Dependencies
|
||||
RUN rm -f /etc/apt/apt.conf.d/docker-clean
|
||||
RUN --mount=type=cache,target=/var/cache/apt \
|
||||
@@ -35,7 +43,7 @@ RUN --mount=type=cache,target=/var/cache/apt \
|
||||
cron \
|
||||
nano \
|
||||
default-mysql-client \
|
||||
postgresql-client \
|
||||
postgresql-client-19 \
|
||||
imagemagick \
|
||||
libmagickwand-dev \
|
||||
librsvg2-2 \
|
||||
|
||||
Reference in new issue
Block a user