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
Support for building Postgres 10 images. #5
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without having run any of this, it looks sane.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Let's not merge this and keep it in the 10 branch for now.
postgres-base/install_postgres.sh
Outdated
rsync" | ||
|
||
add-apt-repository 'deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main' | ||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I usually copy pubkeys into the repo for security reasons.
# In Dockerfile
COPY ACCC4CF8.asc /tmp/
# In postgres-base/install_postgres.sh
apt-key add /tmp/ACCC4CF8.asc
rm /tmp/ACCC4CF8.asc
Add logging of temp files to AB postgres config
I'm not sure if we need to merge this, but opening a PR would make reviews easier.