1
0

bump postgres

This commit is contained in:
nicolas.dorier
2023-11-14 16:29:40 +09:00
parent 7a7da002c6
commit d42292a46d
3 changed files with 11 additions and 11 deletions

View File

@@ -1128,18 +1128,18 @@ cd - && cd ..
# Build postgres
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Postgres/13.10/Postgres/13.10/linuxamd64.Dockerfile
DOCKERFILE="Postgres/13.10/linuxamd64.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Postgres/13.10/Postgres/13.10/linuxarm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Postgres/13.10/linuxarm32v7.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Postgres/13.10/Postgres/13.10/linuxarm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="Postgres/13.10/linuxarm64v8.Dockerfile"
echo "Building btcpayserver/postgres:13.10"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Postgres/13.13/Postgres/13.13/linuxamd64.Dockerfile
DOCKERFILE="Postgres/13.13/linuxamd64.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Postgres/13.13/Postgres/13.13/linuxarm32v7.Dockerfile
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Postgres/13.13/linuxarm32v7.Dockerfile"
# https://raw.githubusercontent.com/btcpayserver/dockerfile-deps/Postgres/13.13/Postgres/13.13/linuxarm64v8.Dockerfile
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="Postgres/13.13/linuxarm64v8.Dockerfile"
echo "Building btcpayserver/postgres:13.13"
git clone https://github.com/btcpayserver/dockerfile-deps postgres
cd postgres
git checkout Postgres/13.10
git checkout Postgres/13.13
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "btcpayserver/postgres:13.10" .
docker build -f "$DOCKERFILE" -t "btcpayserver/postgres:13.13" .
cd - && cd ..