diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-01-20 16:46:08 +0100 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-01-20 17:39:14 +0100 |
| commit | 9c8c534c198f3c3b3e7b17d9f1457ddacd974057 (patch) | |
| tree | 9b8da3d95662cb0e63da9e0ddb3df20fa177d3c2 /setup/package.dfcentos | |
| parent | e40a6fd3252d0f964e2a75862f0c950fa786049b (diff) | |
[FIX] Packaging: RedHat: prompt overriden in docker
RPM packages did not pass the tests because the centos prompt changed
and thus did not match the regexp anymore. We now explicitely specify
the prompt in our Dockerfiles to prevent such issues.
Diffstat (limited to 'setup/package.dfcentos')
| -rw-r--r-- | setup/package.dfcentos | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/setup/package.dfcentos b/setup/package.dfcentos index cd494534c51..1ad8141c887 100644 --- a/setup/package.dfcentos +++ b/setup/package.dfcentos @@ -42,8 +42,10 @@ RUN yum install -d 0 -e 0 epel-release -y && \ RUN easy_install pyPdf vatnumber pydot psycogreen -# Manual start of postgres +# Postgres configuration RUN mkdir -p /var/lib/postgres/data RUN chown -R postgres:postgres /var/lib/postgres/data RUN su postgres -c "initdb -D /var/lib/postgres/data -E UTF-8" -RUN cp /usr/share/pgsql/postgresql.conf.sample /var/lib/postgres/data/postgresql.conf
\ No newline at end of file +RUN cp /usr/share/pgsql/postgresql.conf.sample /var/lib/postgres/data/postgresql.conf + +RUN echo "PS1=\"[\u@nightly-tests] # \"" > ~/.bashrc |
