diff options
author | fundon <cfddream@gmail.com> | 2014-04-27 01:55:22 +0800 |
---|---|---|
committer | fundon <cfddream@gmail.com> | 2014-04-27 01:55:22 +0800 |
commit | cfa09681919f9075063e8f8d84ee8bab20108791 (patch) | |
tree | b1be7c97e1e414d5eb5afbc2b29cc1e8c54fec57 /dockerfiles | |
parent | 9dfb7de3715c11e9569de62cd03b7787e58d0d91 (diff) | |
download | gitea-cfa09681919f9075063e8f8d84ee8bab20108791.tar.gz gitea-cfa09681919f9075063e8f8d84ee8bab20108791.zip |
Fixed codename match issue, when using `FROM ubuntu` wil be pulled latest image
Diffstat (limited to 'dockerfiles')
-rw-r--r-- | dockerfiles/images/postgres/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dockerfiles/images/postgres/Dockerfile b/dockerfiles/images/postgres/Dockerfile index 44e82b7d88..0188dd78fb 100644 --- a/dockerfiles/images/postgres/Dockerfile +++ b/dockerfiles/images/postgres/Dockerfile @@ -9,7 +9,8 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B97B0AFCAA # Add PostgreSQL's repository. It contains the most recent stable release # of PostgreSQL, ``9.3``. -RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list +# See http://apt.postgresql.org/pub/repos/apt/README +RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list # Update the Ubuntu and PostgreSQL repository indexes RUN apt-get update |