1
0
mirror of https://github.com/docker-library/postgres.git synced 2026-01-03 16:42:27 +03:00

Switch from "wheezy" over to "jessie"

This commit is contained in:
Tianon Gravi
2015-07-08 09:55:30 -07:00
parent 09eabaadf5
commit cb70a79c1a
8 changed files with 21 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
# vim:set ft=dockerfile:
FROM debian:wheezy
FROM debian:jessie
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN groupadd -r postgres && useradd -r -g postgres postgres
@@ -24,9 +24,9 @@ RUN mkdir /docker-entrypoint-initdb.d
RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
ENV PG_MAJOR 9.0
ENV PG_VERSION 9.0.22-1.pgdg70+1
ENV PG_VERSION 9.0.22-1.pgdg80+1
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list
RUN apt-get update \
&& apt-get install -y postgresql-common \