File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ The PostgreSQL 14 image is now missing the following extensions (they will be ad
121
121
122
122
### PostgreSQL Tools:
123
123
- [ WAL-G] ( https://github.com/wal-g/wal-g )
124
+ - [ pgBackRest] ( https://github.com/pgbackrest/pgbackrest )
124
125
125
126
## Sync Instance images
126
127
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ ENV PG_SERVER_VERSION=${PG_SERVER_VERSION:-14}
9
9
ARG WALG_VERSION
10
10
ENV WALG_VERSION=${WALG_VERSION:-0.2.19}
11
11
12
+ ARG PGBR_VERSION
13
+ ENV PGBR_VERSION=${PGBR_VERSION:-2.37}
14
+
12
15
RUN apt-get clean && rm -rf /var/lib/apt/lists/partial \
13
16
&& apt-get update -o Acquire::CompressionTypes::Order::=gz \
14
17
&& apt-get install --no-install-recommends -y wget make gcc unzip sudo git \
@@ -109,6 +112,9 @@ RUN apt-get clean && rm -rf /var/lib/apt/lists/partial \
109
112
# WAL-G
110
113
&& wget --quiet -O /tmp/wal-g.linux-amd64.tar.gz "https://github.com/wal-g/wal-g/releases/download/v${WALG_VERSION}/wal-g.linux-amd64.tar.gz" \
111
114
&& tar -zxvf /tmp/wal-g.linux-amd64.tar.gz && mv wal-g /usr/local/bin/ \
115
+ # pgBackRest
116
+ && apt-get install --no-install-recommends -y pgbackrest=${PGBR_VERSION}* zstd openssh-client \
117
+ && mkdir -p -m 700 /var/lib/postgresql/.ssh && chown postgres:postgres /var/lib/postgresql/.ssh \
112
118
# remove all auxilary packages to reduce final image size
113
119
&& cd / && rm -rf /tmp/* && apt-get purge -y --auto-remove gcc \
114
120
make wget unzip curl libc6-dev apt-transport-https git \
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ stages:
31
31
REGISTRY_PASSWORD : " ${CI_REGISTRY_PASSWORD}"
32
32
REGISTRY : " ${CI_REGISTRY}"
33
33
DOCKER_FILE : " extended-postgres/Dockerfile"
34
- DOCKER_NAME : " registry.gitlab.com/postgres-ai/custom-images /extended-postgres"
34
+ DOCKER_NAME : " ${CI_REGISTRY}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME} /extended-postgres"
35
35
36
36
.only_var_template : &only_tag_release
37
37
only :
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ stages:
29
29
REGISTRY_USER : " ${CI_REGISTRY_USER}"
30
30
REGISTRY_PASSWORD : " ${CI_REGISTRY_PASSWORD}"
31
31
REGISTRY : " ${CI_REGISTRY}"
32
- DOCKER_NAME : " registry.gitlab.com/postgres-ai/custom-images /migration-tools"
32
+ DOCKER_NAME : " ${CI_REGISTRY}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME} /migration-tools"
33
33
34
34
.only_var_template : &only_tag_release
35
35
only :
You can’t perform that action at this time.
0 commit comments