Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build postgres:11+periods Docker image #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

runejuhl
Copy link

Hi,

I'm not sure if you're interested, but thought I'd offer this anyway. This Dockerfile builds a periods Debian package from the current branch and drops it into a postgres:11 image along with an init script that creates the periods extension on container start.

This is neat if you want to play around with periods, simply run this to spin up an instance and get a psql shell:

docker build -t $USER/postgres-periods:latest .
docker run -ti --rm -d -p 5432:5432 $USER/postgres-periods:latest
psql -h localhost -p 5432 -U postgres -w postgres

I'd be glad to polish it a bit more and write a few lines for the README if you're interested.

@xocolatl
Copy link
Owner

Sure, I could be interested in this. Some checks are failing, though, and it would be nice if it handled all supported versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants