[IMP]Odoo / Postgre : replace CentOS 6 by OracleLinux 6

Because Oracle Linux has updated Docker images
This commit is contained in:
Fabien BOURGEOIS 2021-01-28 10:18:59 +01:00
parent 42f2dce52b
commit e62edfa0e8
3 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM centos:6 FROM oraclelinux:6
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com> MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# OpenERP dependencies from CentOS # OpenERP dependencies from CentOS

View File

@ -1,10 +1,10 @@
FROM centos:6 FROM oraclelinux:6
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com> MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
# OpenERP dependencies from CentOS # OpenERP dependencies from CentOS
# RUN yum update -y # RUN yum update -y
RUN yum install -y python-devel python-lxml python-psycopg2 python-mako \ RUN yum install -y python-devel python-lxml python-psycopg2 python-mako \
python-setuptools wget git gcc python-setuptools wget git gcc tar
# RUN yum groupinstall -y "Development Tools" # RUN yum groupinstall -y "Development Tools"
# PIP # PIP

View File

@ -1,4 +1,4 @@
FROM centos:6 FROM oraclelinux:6
MAINTAINER "Kentaro Ohkouchi" <nanasess@fsm.ne.jp> MAINTAINER "Kentaro Ohkouchi" <nanasess@fsm.ne.jp>
MAINTAINER "Fabien BOURGEOIS" <fabien@yaltik.com MAINTAINER "Fabien BOURGEOIS" <fabien@yaltik.com
@ -20,6 +20,7 @@ RUN curl -sSL https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/
RUN yum -y install postgresql-server; yum clean all; chkconfig postgresql on RUN yum -y install postgresql-server; yum clean all; chkconfig postgresql on
RUN yum -y reinstall glibc-common # Needed for UTF8
RUN localedef -i fr_FR -c -f UTF-8 -A /usr/share/locale/locale.alias fr_FR.UTF-8 RUN localedef -i fr_FR -c -f UTF-8 -A /usr/share/locale/locale.alias fr_FR.UTF-8
ENV LANG fr_FR.utf8 ENV LANG fr_FR.utf8