Skip to content

Commit

Permalink
Update Dockerfile (#159)
Browse files Browse the repository at this point in the history
* Update Dockerfile

change PG repo according to https://www.postgresql.org/message-id/YBMtd6nRuXyU2zS4%40msg.df7cb.de
  • Loading branch information
damdam-s authored May 10, 2021
1 parent ef96bbd commit ebe4ead
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 10.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ ENV PURGE_PACKAGE npm

# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
RUN set -x; \
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& /install/package_odoo_9.0_10.0.sh \
/install/package_odoo_9.0_10.0.sh \
&& sh -c 'echo "deb http://apt-archive.postgresql.org/pub/repos/apt/ jessie-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& /install/setup-pip.sh \
&& /install/postgres.sh \
&& /install/wkhtml_12_1_2.sh \
Expand Down
2 changes: 1 addition & 1 deletion 7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ENV PURGE_PACKAGE npm
RUN set -x; \
/install/package_odoo_9.0_10.0.sh \
&& /install/setup-pip.sh \
&& sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& sh -c 'echo "deb http://apt-archive.postgresql.org/pub/repos/apt/ jessie-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& /install/postgres.sh \
&& /install/wkhtml_12_1_2.sh \
&& /install/dev_package.sh \
Expand Down
2 changes: 1 addition & 1 deletion 8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ENV PURGE_PACKAGE npm
RUN set -x; \
/install/package_odoo_9.0_10.0.sh \
&& /install/setup-pip.sh \
&& sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& sh -c 'echo "deb http://apt-archive.postgresql.org/pub/repos/apt/ jessie-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& /install/postgres.sh \
&& /install/wkhtml_12_1_2.sh \
&& /install/dev_package.sh \
Expand Down
4 changes: 2 additions & 2 deletions 9.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ ENV PURGE_PACKAGE npm

# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
RUN set -x; \
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& /install/package_odoo_9.0_10.0.sh \
/install/package_odoo_9.0_10.0.sh \
&& sh -c 'echo "deb http://apt-archive.postgresql.org/pub/repos/apt/ jessie-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& /install/setup-pip.sh \
&& /install/postgres.sh \
&& /install/wkhtml_12_1_2.sh \
Expand Down
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Unreleased

**Bugfixes**

* switch apt url for PostgreSQL to apt-archive for jessie-based images
see https://www.postgresql.org/message-id/YBMtd6nRuXyU2zS4%40msg.df7cb.de
**Libraries**

**Build**
Expand Down
1 change: 1 addition & 0 deletions install/package_odoo_9.0_10.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ apt-get update
apt-get install -y --force-yes --no-install-recommends libc-ares2
apt-get install -y --no-install-recommends \
antiword \
apt-transport-https \
ca-certificates \
curl \
ghostscript \
Expand Down

0 comments on commit ebe4ead

Please sign in to comment.