Update Dockerfile

This commit is contained in:
Manatsawin Hanmongkolchai 2019-12-10 14:50:40 +07:00 committed by GitHub
parent 1f7e1dbcc1
commit b5f48cd9e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,8 @@ FROM wongnai/odoo:11.0-20180516
USER root
# Need postgres in backport so that we can export database from odoo web
RUN echo 'deb http://archive.debian.org/debian jessie-backports main' >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get -t jessie-backports -y install postgresql-client \
&& apt-get -y install openjdk-8-jre gettext-base git \
RUN apt-get update \
&& apt-get -y install openjdk-8-jre gettext-base git postgresql-client \
&& rm -rf /var/lib/apt/lists/*
USER odoo