Skip to content

Commit

Permalink
ref(Dockerfile): track upstream PostgreSQL version
Browse files Browse the repository at this point in the history
In response to comments in deis#188 this commit removes the
explict specification of the PostgreSQL package version. This means less
need for version bump pull requests like deis#188 but makes
images slightly less reproducible in exchange as the PostgreSQL version
will change whenever upstream publishes a patch release.
  • Loading branch information
aboyett committed Feb 24, 2017
1 parent 93995d9 commit 4690c99
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ FROM quay.io/deis/base:v0.3.6

ENV LANG=en_US.utf8 \
PG_MAJOR=9.4 \
PG_VERSION=9.4.11-1.pgdg16.04+1 \
PGDATA=/var/lib/postgresql/data

# Set this separately from those above since it depends on one of them
Expand All @@ -25,8 +24,8 @@ RUN buildDeps='gcc git libffi-dev libssl-dev python3-dev python3-pip python3-whe
$buildDeps \
gosu \
lzop \
postgresql-$PG_MAJOR=$PG_VERSION \
postgresql-contrib-$PG_MAJOR=$PG_VERSION \
postgresql-$PG_MAJOR \
postgresql-contrib-$PG_MAJOR \
pv \
python3 \
postgresql-common \
Expand Down

0 comments on commit 4690c99

Please sign in to comment.