Skip to content

Commit 693e42d

Browse files
committed
fix_pgbackrest_install_error
1 parent 8b01518 commit 693e42d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docker/pgbackrest-public-beta/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ RUN ${PACKAGER} -y install --nodocs \
2727
libicu \
2828
dumb-init \
2929
jq \
30-
pgbackrest-${PGBACKREST_VERSION} \
3130
&& ${PACKAGER} -y clean all ;
3231

3332
# Install postgres-server
3433
RUN ${PACKAGER} -y update \
3534
&& for version in $PG_SUPPORTED_VERSIONS; do \
3635
${PACKAGER} -y install --nodocs postgresql${version}-server; \
3736
done \
37+
&& ${PACKAGER} -y install pgbackrest-${PGBACKREST_VERSION} \
3838
&& ${PACKAGER} -y clean all;
3939

4040
# Remove default pgbackrest-config

docker/pgbackrest/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ RUN ${PACKAGER} -y install --nodocs \
2323
libicu \
2424
dumb-init \
2525
jq \
26-
pgbackrest-${PGBACKREST_VERSION} \
2726
&& ${PACKAGER} -y clean all;
2827

2928
# Install postgres-server
3029
RUN ${PACKAGER} -y update \
3130
&& for version in $PG_SUPPORTED_VERSIONS; do \
3231
${PACKAGER} -y install --nodocs postgresql${version}-server; \
3332
done \
33+
&& ${PACKAGER} -y install pgbackrest-${PGBACKREST_VERSION} \
3434
&& ${PACKAGER} -y clean all;
3535

3636
# Remove default pgbackrest-config

docker/postgres-gis/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ RUN ${PACKAGER} -y update && ${PACKAGER} -y install --nodocs --noplugins --setop
5353
rsync \
5454
dumb-init \
5555
libicu \
56-
pgbackrest-${PGBACKREST_VERSION} \
5756
cronie \
5857
libcurl-devel \
5958
&& ${PACKAGER} -y clean all;
@@ -110,6 +109,7 @@ RUN pip3 install 'PyYAML<6.0' setuptools pystache loader kazoo meld3 boto python
110109
&& cd /pgextwlist && make clean && make && make install \
111110
&& cd /pgnodemx && make USE_PGXS=1 clean && make USE_PGXS=1 && make USE_PGXS=1 install; \
112111
done \
112+
&& ${PACKAGER} -y install pgbackrest-${PGBACKREST_VERSION} \
113113
&& ${PACKAGER} -y install --nodocs --noplugins --setopt=install_weak_deps=0 glibc-static \
114114
&& ${PACKAGER} -y clean all;
115115
RUN gcc -s -shared -fPIC -o /usr/local/lib/cron_unprivileged.so /package/cron_unprivileged.c

docker/postgres/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ RUN ${PACKAGER} -y update && ${PACKAGER} -y install --nodocs --noplugins --setop
5252
rsync \
5353
dumb-init \
5454
libicu \
55-
pgbackrest-${PGBACKREST_VERSION} \
5655
cronie \
5756
libcurl-devel \
5857
&& ${PACKAGER} -y clean all;
@@ -107,6 +106,7 @@ RUN pip3 install 'PyYAML<6.0' setuptools pystache loader kazoo meld3 boto python
107106
&& cd /pgextwlist && make clean && make && make install \
108107
&& cd /pgnodemx && make USE_PGXS=1 clean && make USE_PGXS=1 && make USE_PGXS=1 install; \
109108
done \
109+
&& ${PACKAGER} -y install pgbackrest-${PGBACKREST_VERSION} \
110110
&& ${PACKAGER} -y install --nodocs --noplugins --setopt=install_weak_deps=0 glibc-static \
111111
&& ${PACKAGER} -y clean all;
112112
RUN gcc -s -shared -fPIC -o /usr/local/lib/cron_unprivileged.so /package/cron_unprivileged.c

0 commit comments

Comments
 (0)