0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 19:04:50 +01:00

Merge pull request #132 from fundon/fix_codename_match

Fixed codename match issue, when using `FROM ubuntu` wil be pulled latest image
This commit is contained in:
无闻 2014-04-26 14:18:29 -06:00
commit 597387ad40

View file

@ -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 # Add PostgreSQL's repository. It contains the most recent stable release
# of PostgreSQL, ``9.3``. # 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 # Update the Ubuntu and PostgreSQL repository indexes
RUN apt-get update RUN apt-get update