Skip to content

Commit 6495df0

Browse files
committed
fix: use TARGETARCH for multi-arch pig package installation
1 parent d101a3a commit 6495df0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ ENV PG17BIN=/usr/lib/postgresql/17/bin
102102
ENV PG_VERSION=17
103103

104104
RUN curl -fsSL https://repo.pigsty.io/pig | bash && \
105-
dpkg -i /tmp/pig_0.6.1-1_arm64.deb && \
105+
dpkg -i /tmp/pig_0.6.1-1_${TARGETARCH}.deb && \
106106
/usr/bin/pig repo add pigsty --update && \
107107
for ver in 14 15 16 17; do \
108108
/usr/bin/pig install -y --version $ver pgsodium pg_stat_statements pg_partman pg_jsonschema pg_hashids pg_tle pgjwt; \

0 commit comments

Comments
 (0)