File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ ARG pg_repack_release=1.4.8
36
36
ARG pgvector_release=0.4.0
37
37
ARG pg_tle_release=1.0.3
38
38
ARG supautils_release=1.7.2
39
+ ARG wal_g_release=2.0.1
39
40
40
41
FROM postgres:${postgresql_release} as base
41
42
# Redeclare args for use in subsequent stages
@@ -724,6 +725,16 @@ ARG supautils_release
724
725
ADD "https://github.com/supabase/supautils/releases/download/v${supautils_release}/supautils-v${supautils_release}-pg${postgresql_major}-${TARGETARCH}-linux-gnu.deb" \
725
726
/tmp/supautils.deb
726
727
728
+ # ###################
729
+ # setup-wal-g.yml
730
+ # ###################
731
+ FROM base as walg
732
+ ARG wal_g_release
733
+ ADD "https://github.com/wal-g/wal-g/releases/download/v${wal_g_release}/wal-g-pg-ubuntu-20.04-${TARGETARCH}.tar.gz" /tmp/wal-g.tar.gz
734
+ RUN tar -xvf /tmp/wal-g.tar.gz -C /tmp && \
735
+ rm -rf /tmp/wal-g.tar.gz && \
736
+ mv /tmp/wal-g-pg-ubuntu-20.04-${TARGETARCH} /tmp/wal-g
737
+
727
738
# ###################
728
739
# Collect extension packages
729
740
# ###################
@@ -757,6 +768,7 @@ COPY --from=pg_repack /tmp/*.deb /tmp/
757
768
COPY --from=pgvector /tmp/*.deb /tmp/
758
769
COPY --from=pg_tle /tmp/*.deb /tmp/
759
770
COPY --from=supautils /tmp/*.deb /tmp/
771
+ COPY --from=walg /tmp/wal-g /usr/local/bin/
760
772
761
773
# ###################
762
774
# Build final image
Original file line number Diff line number Diff line change 27
27
git :
28
28
repo : https://github.com/wal-g/wal-g.git
29
29
dest : /tmp/wal-g
30
- version : " {{ wal_g_release }}"
30
+ version : " v {{ wal_g_release }}"
31
31
become : yes
32
32
33
33
- name : wal-g - pg_clean
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ kong_deb_checksum: sha1:2086f6ccf8454fe64435252fea4d29d736d7ec61
31
31
nginx_release : 1.22.0
32
32
nginx_release_checksum : sha1:419efb77b80f165666e2ee406ad8ae9b845aba93
33
33
34
- wal_g_release : " v2 .0.1"
34
+ wal_g_release : " 2 .0.1"
35
35
36
36
sfcgal_release : " 1.3.10"
37
37
sfcgal_release_checksum : sha256:4e39b3b2adada6254a7bdba6d297bb28e1a9835a9f879b74f37e2dab70203232
You can’t perform that action at this time.
0 commit comments