File tree Expand file tree Collapse file tree 4 files changed +25
-3
lines changed Expand file tree Collapse file tree 4 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /usr/bin/env bash
2+
3+ docker buildx create --name multiarch-builder --use
4+
5+ docker buildx build \
6+ --platform=linux/arm64 \
7+ --build-arg TARGETARCH=arm64 \
8+ --build-arg TARGETPLATFORM=linux/arm64 \
9+ --load \
10+ -t pgvectortest \
11+ .
212
3- docker build -t pgvectortest .
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # This script just runs the latest published image and does not build it locally.
4+
5+ docker pull ghcr.io/payloadcms/postgis-vector:latest && docker run --rm \
6+ -e POSTGRES_USER=devuser \
7+ -e POSTGRES_PASSWORD=devpassword \
8+ -e POSTGRES_DB=mydb \
9+ -e PAYLOAD_DATABASE=postgres \
10+ -p 5433:5432 \
11+ ghcr.io/payloadcms/postgis-vector:latest
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
13docker run --rm \
24 -e POSTGRES_USER=devuser \
35 -e POSTGRES_PASSWORD=devpassword \
Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /usr/ bin/env bash
22
33set -e
44
You can’t perform that action at this time.
0 commit comments