Giter Site home page Giter Site logo

docker-odoo-image's Introduction

ARCHIVED PROJECT MIGRATED TO OUR GITLAB

docker-base-image

Base docker image for Odoo 6.1, 7.0, 8.0,9.0 and 10.0 instances

This image has all de Odoo dependencies installed so you just have to configure the instance as you please

docker-odoo-image's People

Contributors

angelfentanez avatar fernandahf avatar hugho-ad avatar jonathanosalc avatar karenkawaii avatar lasley avatar leangjia avatar luisalejandro avatar luisg123v avatar luistorresm avatar moylop260 avatar nhomar avatar ruiztulio avatar tomeyro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-odoo-image's Issues

[Odoo 10.0] ImportError: No module named xlsxwriter

I've seen that in Odoo 10.0 a python module is needed

In this case is xlsxwriter, see the bash log below to get it

2016-12-01 17:53:39,161 5621 INFO openerp_template odoo.modules.registry: module account_bank_statement_import: creating or updating database tables
2016-12-01 17:53:39,396 5621 INFO openerp_template odoo.modules.loading: loading account_bank_statement_import/account_bank_statement_import_view.xml
2016-12-01 17:53:39,446 5621 INFO openerp_template odoo.modules.loading: loading account_bank_statement_import/account_import_tip_data.xml
2016-12-01 17:53:39,448 5621 INFO openerp_template odoo.modules.loading: loading account_bank_statement_import/wizard/journal_creation.xml
2016-12-01 17:53:39,463 5621 INFO openerp_template odoo.modules.loading: loading account_bank_statement_import/demo/partner_bank.xml
2016-12-01 17:53:39,650 5621 INFO openerp_template odoo.modules.registry: module account_extension: creating or updating database tables
2016-12-01 17:53:39,686 5621 INFO openerp_template odoo.modules.loading: loading account_extension/views/account_report_menu_invisible.xml
2016-12-01 17:53:39,736 5621 INFO openerp_template odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [8626, 8769, 8765, 8767, 8482, 8629, 8773, 8475, 8752, 8748, 8743, 8738]
2016-12-01 17:53:39,737 5621 INFO openerp_template odoo.models.unlink: User #1 deleted ir.ui.menu records with IDs: [153, 152, 137, 168, 169, 171, 172, 170, 173, 130, 173, 167, 166]
2016-12-01 17:53:39,749 5621 INFO openerp_template odoo.models.unlink: User #1 deleted ir.model.data records with IDs: [8634]
2016-12-01 17:53:39,754 5621 INFO openerp_template odoo.models.unlink: User #1 deleted ir.values records with IDs: [44]
2016-12-01 17:53:39,754 5621 INFO openerp_template odoo.models.unlink: User #1 deleted ir.actions.report.xml records with IDs: [214]
2016-12-01 17:53:39,777 5621 CRITICAL openerp_template odoo.modules.module: Couldn't load module account_reports
2016-12-01 17:53:39,777 5621 CRITICAL openerp_template odoo.modules.module: No module named xlsxwriter
2016-12-01 17:53:39,777 5621 ERROR openerp_template odoo.modules.registry: Failed to load registry
Traceback (most recent call last):
File "/home/travis/odoo-10.0/odoo/modules/registry.py", line 78, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/travis/odoo-10.0/odoo/modules/loading.py", line 337, in load_modules
loaded_modules, update_module)
File "/home/travis/odoo-10.0/odoo/modules/loading.py", line 235, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
File "/home/travis/odoo-10.0/odoo/modules/loading.py", line 122, in load_module_graph
load_openerp_module(package.name)
File "/home/travis/odoo-10.0/odoo/modules/module.py", line 367, in load_openerp_module
__import__('odoo.addons.' + module_name)
File "/home/travis/odoo-10.0/odoo/modules/module.py", line 81, in load_module
execfile(modfile, new_mod.__dict__)
File "/home/travis/enterprise/account_reports/__init__.py", line 4, in <module>
import models
File "/home/travis/enterprise/account_reports/models/__init__.py", line 4, in <module>
import account_report_context_common
File "/home/travis/enterprise/account_reports/models/account_report_context_common.py", line 5, in <module>
import xlsxwriter
ImportError: No module named xlsxwriter

travis ci

image

[ADD] python-3.x: Many times we can use t2d with tox project that use py3

We need install python3 in the big-image to test quickly t2d apps using tox with different versions of python.

My local fails because we don't have python-3.x
IMHO is a good idea install different version of python-3.x

FYI in my local container I have installed with the following gist

To valid that It's working fine you can run:
git clone [email protected]:PyCQA/pylint.git
cd pylint
tox -e py27,py33,py34,py35

Show print-screen in the pr, please

use updated URL for wkhtmltopdf downloads

Hello,

wkhtmltopdf has moved the downloads provider from SourceForge to gna.org. As mentioned in the linked message, all earlier downloads have been removed from SourceForge and you are strongly advised to migrate to the new URLs. The following files in your repository will need to be updated:

  • odoo80/Dockerfile

It is recommended to either subscribe to the mailing list or Twitter feed to receive updates on new releases and further changes.

Thanks,
wkhtmltopdf maintainer

Generation of odoo-80-image fails because of bug in pip-tools

The odoo-80-image is failing because of this:

ERROR:
You are using pip>=8.1.2, which changed some internal data structures pip-tools
depends on.  Support for this is scheduled for pip-tools>=1.7.  Until then,
consider downgrading your pip:

    $ pip install --upgrade pip==8.1.1

The command '/bin/sh -c bash /usr/share/vx-docker-internal/odoo80/build-image.sh' returned a non-zero code: 4
The command "cd ${TRAVIS_BUILD_DIR}/odoo80 && docker build --rm -t vauxoo/odoo-80-image:latest ." exited with 1.

Which is being caused by jazzband/pip-tools#358

The maintainer suggests that pip==8.1.1 should be installed.

missing autocomplete in bash

When ruining the container i will like that bash have the auto complete feature when i type a command name

Current Behavior

  • I type git check then press the tab key. nothing happend

Expected Behavior

  • I type git check then press the tab key and the command line shouls show me git checkout

Allow the cloning of private repositories inside the docker build in Travis

Currently a clone of a private repository will fail inside the build because it does not have the proper credentials to do it. This can be achieved by the use of Travis encrypted keys to store deployment tokens.

However, this will mean two things:

  1. If you are not authorized to clone the repo, then you will fail to make an exact local copy of the image if you try to build it in your PC.
  2. This approach will only work on Travis and locally if you have read access to the repo. It means automated builds on the docker hub will no longer be correct because they don't offer the feature of storing encrypted Tokens. This leads to the need of #110.

[odoo-shippable] ¿Por que creamos los clusters de postgresql manualmente en odoo-shippable?

[Forwarded from internal list]

Hola, buenos días.

Revisando el Dockerfile de odoo-shippable encuentro que desactivamos la creación automática de los clusters y luego los creamos manualmente.

https://github.com/Vauxoo/docker-odoo-image/blob/master/odoo-shippable/Dockerfile#L34

En una primera suposición me imagino que esto es debido a algún problema con la localización que no se hacía correctamente y por eso hay que pasar -e utf-8 como parámetro a pg_createcluster.

A partír de acá hago las siguientes conclusiones.

La página de manual de pg_createcluster dice lo siguiente en cuanto a la descripción del parámetro -e:

Select the encoding of the template database. This will also be the default encoding of any database you create later, unless you override it there. The default is derived from the locale, or SQL_ASCII if that does not work.  The character sets supported by the PostgreSQL server are described in the documentation. Note: It is not recommended to set this option directly! Set the locale instead.

Entonces al parecer el encoding se toma automáticamente de la configuración del locale.

Luego, inspeccionando el script de postinstalación propio de postgresql:

https://sources.debian.net/src/postgresql-9.5/9.5.2-1/debian/postgresql-9.5.postinst/#L10
https://sources.debian.net/src/postgresql-common/173/debian/maintscripts-functions/#L79
https://sources.debian.net/src/postgresql-common/173/debian/maintscripts-functions/#L54

Se puede observar que si la codificación del locale está bien configurada en /etc/default/locale, entonces el comando pg_createcluster lo toma de ahí.

Todo este análisis es para explicar que es seguro dejar que los clusters los genere el propio script de postinstalación del paquete postgresql, y por lo tanto simplificar el Dockerfile.

Saludos.

Use of ${REPO_REQUIREMENTS}/addons-vauxoo/

As you can see below there is a empty-fetched git repo but not used

...
 && mkdir -p ${REPO_REQUIREMENTS}/addons-vauxoo/ \
 && git init ${REPO_REQUIREMENTS}/addons-vauxoo/ \
 && git --git-dir=${REPO_REQUIREMENTS}/addons-vauxoo/.git remote add vauxoo https://github.com/vauxoo/addons-vauxoo.git \
 && git --git-dir=${REPO_REQUIREMENTS}/addons-vauxoo/.git fetch --all
...

and that generates the following:

root@7a8e6c34c7dd:/# ls -asl /.repo_requirements/addons-vauxoo/
total 12
4 drwxr-xr-x  5 root root 4096 Mar 22 20:49 .
4 drwxr-xr-x 11 root root 4096 Mar 22 20:49 ..
4 drwxr-xr-x 14 root root 4096 Mar 22 20:49 .git
root@7a8e6c34c7dd:/#

Is this directory used?

[BUG] Unused code in /tmp

Hello,

Upon inspection at the odoo-80-image i've found that the /tmp is not clean after finishing the image, resulting in an extra +660MB.

$ docker run -it vauxoo/odoo-80-image bash
root@e753f32b21ce:/# du -hs /*
6.3M    /bin
4.0K    /boot
0   /dev
3.8M    /etc
4.0K    /home
24M /lib
4.0K    /lib64
4.0K    /media
4.0K    /mnt
4.0K    /opt
0   /proc
7.3M    /root
44K /run
6.8M    /sbin
4.0K    /srv
0   /sys
663M    /tmp           <<<<<<<<<
921M    /usr
16M /var

I'll be making a PR soon.

Define, conceptualize and document each image

These images need to have their purpose documented. Which software should be contained in them?

We have four layers of images:

ubuntu > docker-ubuntu-base > odoo-80-image > yoytec

or

ubuntu > docker-ubuntu-base > odoo-80-image > odoo-shippable

It seems to me that one of these images is unnecessary. Or docker-ubuntu-base or odoo-80-image. What do you think? @moylop260 @ruiztulio @nhomar

This issue should be resolved by providing a good README, and a few wiki pages explaining what software is included in each image and what's its purpose.

Allow use bash script multiple users

Currently we have 2 users: shippable and root.
root user has all bash configured done.
shippable user hasn't bash configured correctly. (bash colors don't work, GIT_STATUS=1...)

We need propagate the bash configuration to all users (not just hardcoded for root and shippable, if other user is created this one should use same bash scripts)

Make Travis push the images to the Docker hub if the tests succeed

If #109 gets implemented, automated builds on the docker hub will need to be deprecated because a clone of a private repository will fail there. One solution to this problem could be to use Travis builds to push the images to hub.docker.com if they pass all tests (after #111 is done). This can be easily done by storing push credentials in the Travis encrypted tokens.

[odoo-shippable] Failed to build M2Crypto, numexpr

The last build of the image odoo-shippable show the following traceback:

Failed to build M2Crypto numexpr
Installing collected packages: docutils, wstools, defusedxml, SOAPpy, suds, pillow, qrcode, xmltodict, M2Crypto, recaptcha-client, egenix-mx-base, PyWebDAV, simplejson, mygengo, python-dateutil, pytz, numpy, pandas, numexpr, setuptools, logilab-common, astroid, pylint, pylint-plugin-utils, Pygments, restructuredtext-lint, pylint-odoo, PyYAML, argh, pathtools, watchdog, isort, docopt, coverage, requests, coveralls, line-profiler, enum34
  Running setup.py install for M2Crypto: started
    Running setup.py install for M2Crypto: finished with status 'error'
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-N2cPYH/M2Crypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-fBLcEe-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/util.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/Err.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/EVP.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/m2urllib.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/BN.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/Engine.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/X509.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/BIO.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/ASN1.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/Rand.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/EC.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/ftpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/RC4.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/callback.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/threading.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/DSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/m2.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/DH.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/SMIME.py -> build/lib.linux-x86_64-2.7/M2Crypto
    copying M2Crypto/httpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
    creating build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    copying M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
    creating build/lib.linux-x86_64-2.7/M2Crypto/PGP
    copying M2Crypto/PGP/PublicKey.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
    copying M2Crypto/PGP/packet.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
    copying M2Crypto/PGP/PublicKeyRing.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
    copying M2Crypto/PGP/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
    copying M2Crypto/PGP/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
    copying M2Crypto/PGP/constants.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
    running build_ext
    building 'M2Crypto.__m2crypto' extension
    swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
    swig -python -D__x86_64__ -I/usr/include/python2.7 -I/usr/include -I/usr/include/x86_64-linux-gnu -includeall -modern -builtin -outdir build/lib.linux-x86_64-2.7/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
    SWIG/_m2crypto.i:31: Error: Unable to find 'openssl/opensslv.h'
    SWIG/_m2crypto.i:45: Error: Unable to find 'openssl/safestack.h'
    SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h'
    SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h'
    error: command 'swig' failed with exit status 1

    ----------------------------------------
�[91mCommand "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-N2cPYH/M2Crypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-fBLcEe-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-N2cPYH/M2Crypto/
�[0m�[91mYou are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
�[0m1
�[91msed: can't read /root/.zshrc: No such file or directory
�[0mRemoving intermediate container 8ad54051881c
The command '/bin/sh -c apt-get remove -y git     && apt-get update     && apt-get install -y software-properties-common     && add-apt-repository ppa:gi

[odoo-shippable] Script de inicio custom para postgresql

@LuisAlejandro dice:

Hola, buenos días.

Estoy tratando de entender el propósito de este script de inicio custom que colocamos en odoo-shippable.

https://github.com/Vauxoo/docker-odoo-image/blob/master/odoo-shippable/files/etc_initd_postgresql

Según entiendo es para evitar que dos clusters de diferentes versiones de postgresql corran al mismo tiempo. Vi algunos ejemplos en donde la instalación de dos versiones de postgresql fallaba si las modificaciones de ese script no estaban presentes, lo que me hace entender su importancia.

https://travis-ci.org/zenitraM/test-travis/builds/113662868#L195
https://travis-ci.org/mgaitan/preciosa#L195
https://travis-ci.org/rochoa/test-travis/builds/113438047#L151

Sin embargo, desde el punto de vista de la imagen es una mala práctica sobreescribir un script que provee un paquete de esa manera, por lo que estoy tratando de buscar una alternativa para lograr el mismo efecto de una manera más limpia.

Si lo que se quiere es que solo se levante el cluster de una sola version cada vez que se hace "service postgresql restart", entonces eso se puede lograr editando el archivo:

/etc/postgresql/<version>/<cluster>/start.conf

De cada version-cluster, colocar "manual" en los version-cluster que no queremos arrancar automaticamente, y colocar "auto" en el que querramos que arranque automaticamente con el inicio/reiunicio del servicio.

¿Que les parece?

What about to use zsh ( linux shell )

I have been using zsh (with oh-my-zsh!) for a while locally after use Fish (another one of its kind) and I think that using it inside a Docker container would be helpful in some cases. Oh-my-zsh! has plugins and themes that simplifies terminal look and feel and the use of some packages with auto-completion that its plugins provide.

Very few plugins inside oh-my-zsh!:

Use Locally:

Use internal (inside Docker container)

I leave here a video as a demo of it.
Getting Started with ZSH

[REF] Analyze and improve vauxoo/odoo-80-image-shippable-auto docker image

Rationale:

Currently the docker image used by Vauxoo's core processes is considerably heavy and has many unnecessary files that can be removed to improve download, test, and overall development times.

Objective:

  • Reduce docker image to its minimum weight by removing unnecessary files, git history and dependencies (where possible).

Relevant file:

Related issues:

Work in progress:

  • PR: To be filled

Failing tests with Odoo 9.0

I have a repo in git.vauxoo.com and it uses odoo-shippable image to execute the tests it was green until the image was updated, the checking the logs I realized that for some reason it was using odoo 8.0 instead of 9.0 (the few lasts lines):
error

And in the previous one (the is from yesterday):
green

We didn't change the tests nor the code because we're testing the CI system.

Also we notice this:
clone90

Compared with the one that was successfully tested:
good

Regards

Make tests for each docker build in this repo

Based on #112, each image should be tested for a common set of tasks:

  • Is every software listed on the definition available and behaving correctly?
  • Can we make basic operations on the OS? (Install/uninstall software, restart services, uncompress archives, etc).
  • Is the performance OK?

Cache is not working properly

The big image has /.repo_requirements/odoo where a repository git with odoo/odoo project is cached.
But if you use:
cd /.repo_requirements/odoo && git checkout -b 8.0-odoo odoo/8.0 is not found it

But we can't download the full repositories because are bigger.
Could you check if there is a way to cache better this one?

Update git version from 1.9.x to 2.7.x.

Current Behavior

The current docker version is 1.9.x.
With 1.9.X version it is not available drop option in git rebase -i

Expected behavior

I would like the docker version is updated to 2.7.x
Because in git rebase -i it is available drop option.

[REF] odoo-shippable: Vim bundle YouCompleteMe disable by default and enabled from environment variable

Currently the bundle YouCompleteMe is enabled by default.
But some users like as @luistorresm is not agree with that.

Then we need disable it by default:

  • sed -i "s/Bundle 'Valloric\/YouCompleteMe'/\" Bundle 'Valloric\/YouCompleteMe'/g" ~/.spf13-vim-3/.vimrc.bundles

And enabled from environment variable from ~/.vimrc.bundles.local adding:

cat >> ~/.vimrc.bundles.local << EOF
" YouCompleteMe bundle {
if count(g:spf13_bundle_groups, 'youcompleteme') && $VIM_YOUCOMPLETEME=1
     `Bundle 'Valloric/YouCompleteMe'` with a `if`
endif
" }
EOF

Notice: $VIM_YOUCOMPLETEME this means that if the environment variable is enabled then enable the bundle too.

Note: I don't know how to get a environment variable value from .bundle file but if is not posible then you could use a special file to use: filereadable(expand("~/vim_youcompleteme.enable")) or something similar.

FYI I found the following code:
screen shot 2017-01-30 at 11 53 49 am

Study and refactor entrypoint_image according to different use cases

As discussed in #130, currently the /entrypoint_image script outputs the following error when being executed inside the build script of vauxoo/odoo-80-image-shippable-auto:

sed: can't read /root/*/openerp/cli/server.py: No such file or directory

This is because the script expects the odoo codebase to be in /root and not in /.repo_requirements. The script should be adapted to run both on test and build environments.

odoo-shippable - [ADD] multitail: configure colorized multitail alias

The command multitail -cS log4j -f archivo.log show a tail -f colorized
But the name and parameters are even missed

  • Add a alias tail2="multitail -cS log4j"
  • Enable in /etc/multitail.conf the TEST log cs_re_s:blue:^[^ ]* *[^,]*,[^ ]* *[0-9]* *(TEST) *[^ ]* [^ ]* *(.*)$
  • Enable in /etc/multitail.conf the WARN log (currently just exists WARNING add similar entry for WARN
  • Consider replace the current colorized encoding of the odoo logs

Git diff highlight

There is a really cool feature called diff-highlight it is a PyPi package.
after installed it is just question of adding this small piece of setup code on the ~/.gitconfig file

[pager]
    log = diff-highlight | less
    show = diff-highlight | less
    diff = diff-highlight | less

this will result in a better console diff like this:

diff
Hope we all agree in adding this feature.

[REF] Analyze and improve vauxoo/odoo-80-image docker image

Rationale:

The docker image in which the shippable image bases, has room for improvements. Shrinking this image will also result in a smaller shippable image.

Objective:

  • Reduce docker image to its minimum weight by removing unnecessary files, git history and dependencies (where possible).

Relevant file:

Related issues:

Work in progress:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.