You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-07-28 10:42:06 +03:00
Merge pull request #71 from infosiftr/jessie
Switch from "wheezy" over to "jessie"
This commit is contained in:
@ -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 \
|
||||
|
@ -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.1
|
||||
ENV PG_VERSION 9.1.18-1.pgdg70+1
|
||||
ENV PG_VERSION 9.1.18-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 \
|
||||
|
@ -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.2
|
||||
ENV PG_VERSION 9.2.13-1.pgdg70+1
|
||||
ENV PG_VERSION 9.2.13-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 \
|
||||
|
@ -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.3
|
||||
ENV PG_VERSION 9.3.9-1.pgdg70+1
|
||||
ENV PG_VERSION 9.3.9-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 \
|
||||
|
@ -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.4
|
||||
ENV PG_VERSION 9.4.4-1.pgdg70+1
|
||||
ENV PG_VERSION 9.4.4-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 \
|
||||
|
@ -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.5
|
||||
ENV PG_VERSION 9.5~alpha1-1.pgdg70+1
|
||||
ENV PG_VERSION 9.5~alpha1-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 \
|
||||
|
@ -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
|
||||
@ -26,7 +26,7 @@ RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys B97B0AFCAA1A4
|
||||
ENV PG_MAJOR %%PG_MAJOR%%
|
||||
ENV PG_VERSION %%PG_VERSION%%
|
||||
|
||||
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 \
|
||||
|
@ -9,7 +9,7 @@ if [ ${#versions[@]} -eq 0 ]; then
|
||||
fi
|
||||
versions=( "${versions[@]%/}" )
|
||||
|
||||
packagesUrl='http://apt.postgresql.org/pub/repos/apt/dists/wheezy-pgdg/main/binary-amd64/Packages'
|
||||
packagesUrl='http://apt.postgresql.org/pub/repos/apt/dists/jessie-pgdg/main/binary-amd64/Packages'
|
||||
packages="$(echo "$packagesUrl" | sed -r 's/[^a-zA-Z.-]+/-/g')"
|
||||
curl -sSL "${packagesUrl}.bz2" | bunzip2 > "$packages"
|
||||
|
||||
|
Reference in New Issue
Block a user