Customize the Per-User Postgres Docker Image
We provide each student on data100
witha postgresql server. We want the python extension installed. So we inherit from the upstream postgresql docker image, and add the appropriate package.
This image is in images/postgres
. If you update it, you need to rebuild and push it.
- Modify the image in
images/postgres
and make a git commit. - Run
chartpress --push
. This will build and push the image, but not put anything in YAML. There is no place we can put thi invalues.yaml
, since this is only used for data100. - Notice the image name + tag from the
chartpress --push
command, and put it in the appropriate place (underextraContainers
) indata100/config/common.yaml
. - Make a commit with the new tag in
data100/config/common.yaml
. - Proceed to deploy as normal.