Sign inSign up

repolytics/postgres

By repolytics

•Updated about 8 years ago

Postgres with tiny utilities for maintenance

Image
0

371

repolytics/postgres repository overview

⁠'postgres' image with utilities for db backup/restore

⁠About

⁠How to build the image

  • Create directory docker-postgres-scripts in the same directory with Dockerfile
  • Place required scripts under the created docker-postgres-scripts directory
  • Use the following Dockerfile
FROM postgres:10-alpine

COPY docker-postgres-scripts /usr/local/bin/docker-postgres-scripts
RUN chmod +x /usr/local/bin/docker-postgres-scripts/* \
    && mv -f /usr/local/bin/docker-postgres-scripts/* /usr/local/bin \
    && rm -fr /usr/local/bin/docker-postgres-scripts
  • Build the image, like for example:
docker build -t repolytics/postgres .

Tag summary

Content type

Image

Digest

Size

26.9 MB

Last updated

about 8 years ago

docker pull repolytics/postgres