Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 1.39 KB

README.md

File metadata and controls

36 lines (30 loc) · 1.39 KB

Build action

OCI Image included postgres-15-dev and azcopy which built from source by melange and apko

image

image

image

Usage

docker pull ghcr.io/hungran/pg_dump_azcopy:latest
docker run -it ghcr.io/hungran/pg_dump_azcopy:latest /usr/bin/pg_dump --help
docker run -it ghcr.io/hungran/pg_dump_azcopy:latest /usr/local/bin/azure-storage-azcopy --help
docker run -it ghcr.io/hungran/pg_dump_azcopy:latest sh

DIY

Build apk

docker run --privileged --rm -v "${PWD}":/work \
  cgr.dev/chainguard/melange build azcopy.melange.yaml \
  --arch x86_64, aarch64 \
  --signing-key melange.rsa

Build OCI Image

docker run --rm -v ${PWD}:/work cgr.dev/chainguard/apko \
  build latest.apko.yaml azcopy-postgres:test azcopy-postgres.tar \
  -k melange.rsa.pub

Load Image

docker load < azcopy-postgres.tar