Update "Dockerfile-alpine.template" and apply "update.sh" (after verifying that 12 still builds and works properly without the added "-testing" repository)

This commit is contained in:
Tianon Gravi 2019-05-30 13:17:17 -07:00
parent e3d200e6be
commit 5992d8be75
8 changed files with 7 additions and 3 deletions

View File

@ -53,6 +53,7 @@ RUN set -ex \
libedit-dev \
libxml2-dev \
libxslt-dev \
linux-headers \
make \
# openldap-dev \
openssl-dev \

View File

@ -53,6 +53,7 @@ RUN set -ex \
libedit-dev \
libxml2-dev \
libxslt-dev \
linux-headers \
make \
# openldap-dev \
openssl-dev \

View File

@ -82,8 +82,7 @@ RUN set -ex; \
case "$dpkgArch" in \
amd64|i386|ppc64el) \
# arches officialy built by upstream
echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg-testing main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg-testing.list; \
echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
apt-get update; \
;; \
*) \

View File

@ -147,7 +147,6 @@ RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PG
VOLUME /var/lib/postgresql/data
COPY docker-entrypoint.sh /usr/local/bin/
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 5432

View File

@ -53,6 +53,7 @@ RUN set -ex \
libedit-dev \
libxml2-dev \
libxslt-dev \
linux-headers \
make \
# openldap-dev \
openssl-dev \

View File

@ -53,6 +53,7 @@ RUN set -ex \
libedit-dev \
libxml2-dev \
libxslt-dev \
linux-headers \
make \
# openldap-dev \
openssl-dev \

View File

@ -53,6 +53,7 @@ RUN set -ex \
libedit-dev \
libxml2-dev \
libxslt-dev \
linux-headers \
make \
# openldap-dev \
openssl-dev \

View File

@ -53,6 +53,7 @@ RUN set -ex \
libedit-dev \
libxml2-dev \
libxslt-dev \
linux-headers \
make \
# openldap-dev \
openssl-dev \