Skip to content

hungran/pg_dump_azcopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

azure storage copy and pg_dump in one place (OCI Image)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project