├── 6.1 └── debian │ ├── Dockerfile │ └── README.md ├── 7.0 ├── debian │ ├── Dockerfile │ └── README.md └── ubuntu │ ├── Dockerfile │ └── README.md ├── 8.0 ├── debian │ ├── Dockerfile │ └── README.md └── ubuntu │ ├── Dockerfile │ └── README.md ├── README.md ├── postgresql ├── 9.3-debian │ ├── Dockerfile │ └── README.md ├── 9.3-ubuntu │ ├── Dockerfile │ └── README.md ├── 9.4-debian │ ├── Dockerfile │ └── README.md └── 9.4-ubuntu │ ├── Dockerfile │ └── README.md ├── trunk-deb ├── debian │ ├── Dockerfile │ └── README.md └── ubuntu │ ├── Dockerfile │ └── README.md └── trunk-src ├── debian ├── Dockerfile └── README.md └── ubuntu ├── Dockerfile └── README.md /6.1/debian/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/debian-openerp:6.1 3 | FROM tinyerp/debian-postgresql:9.3 4 | 5 | # Install "openerp.deb" 6 | # Create PostgreSQL user "openerp" 7 | # Untar configuration "/etc/supervisor/conf.d/openerp.conf" 8 | RUN echo deb http://nightly.odoo.com/6.1/nightly/deb/ ./ \ 9 | > /etc/apt/sources.list.d/openerp-61.list \ 10 | && export DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 \ 11 | && apt-get update && apt-get install -y --allow-unauthenticated openerp \ 12 | && mkdir ~openerp && chown openerp:openerp ~openerp \ 13 | && service postgresql start && su - postgres -c "createuser -d openerp" \ 14 | && echo H4sIACx6i1MCA+3SwUrDQBAG4JzzFHkA66ZN2oLQg4eiB7WgeBIpMZnWQLMTZnfz/E5j \ 15 | Ipi7YOH/Lsv8P1kysNySJWmvS7aH6I+kapXn/ammZ5pnaTRfZPlitc7Xy2WUztNM6yS6JNPlLsRb \ 16 | K3yUornh74fwHpfcNIWtkk1ighPzUVszdDNH0pEkszIx5MsxntT9U4qDDnrFUMVku1rYNmS9pq8v \ 17 | 2+fNUF097O6ebh+3P/P9TgfzyQ2NF8dF8Ox8IedvvQTqA6FfkVBVC5V+73xFImOsEwe/P/HxUJ/o \ 18 | vFRXiNHRuNDq/9aOZbqAtnEEAAAAAAAAAAAAAAAAAAAAAADwz30BmbMKRgAoAAA= \ 19 | | base64 -di | tar xz -C /etc/supervisor/conf.d 20 | 21 | # Declare volumes for data 22 | VOLUME ["/var/lib/openerp", "/var/lib/postgresql"] 23 | 24 | # Expose HTTP port 25 | EXPOSE 8069 26 | -------------------------------------------------------------------------------- /6.1/debian/README.md: -------------------------------------------------------------------------------- 1 | ../../trunk-src/debian/README.md -------------------------------------------------------------------------------- /7.0/debian/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/debian-openerp:7.0 3 | FROM tinyerp/debian-postgresql:9.3 4 | 5 | # Install "openerp.deb" 6 | # Create PostgreSQL user "openerp" 7 | # Untar configuration "/etc/supervisor/conf.d/openerp.conf" 8 | RUN echo deb http://nightly.odoo.com/7.0/nightly/deb/ ./ \ 9 | > /etc/apt/sources.list.d/openerp-70.list \ 10 | && export DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 \ 11 | && apt-get update && apt-get install -y --allow-unauthenticated openerp \ 12 | && mkdir ~openerp && chown openerp:openerp ~openerp \ 13 | && service postgresql start && su - postgres -c "createuser -d openerp" \ 14 | && echo H4sIACx6i1MCA+3SwUrDQBAG4JzzFHkA66ZN2oLQg4eiB7WgeBIpMZnWQLMTZnfz/E5j \ 15 | Ipi7YOH/Lsv8P1kysNySJWmvS7aH6I+kapXn/ammZ5pnaTRfZPlitc7Xy2WUztNM6yS6JNPlLsRb \ 16 | K3yUornh74fwHpfcNIWtkk1ighPzUVszdDNH0pEkszIx5MsxntT9U4qDDnrFUMVku1rYNmS9pq8v \ 17 | 2+fNUF097O6ebh+3P/P9TgfzyQ2NF8dF8Ox8IedvvQTqA6FfkVBVC5V+73xFImOsEwe/P/HxUJ/o \ 18 | vFRXiNHRuNDq/9aOZbqAtnEEAAAAAAAAAAAAAAAAAAAAAADwz30BmbMKRgAoAAA= \ 19 | | base64 -di | tar xz -C /etc/supervisor/conf.d 20 | 21 | # Declare volumes for data 22 | VOLUME ["/var/lib/openerp", "/var/lib/postgresql"] 23 | 24 | # Expose HTTP port 25 | EXPOSE 8069 26 | -------------------------------------------------------------------------------- /7.0/debian/README.md: -------------------------------------------------------------------------------- 1 | ../../trunk-src/debian/README.md -------------------------------------------------------------------------------- /7.0/ubuntu/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/ubuntu-openerp:7.0 3 | FROM tinyerp/ubuntu-postgresql:9.3 4 | 5 | # Install "openerp.deb" 6 | # Create PostgreSQL user "openerp" 7 | # Untar configuration "/etc/supervisor/conf.d/openerp.conf" 8 | RUN echo deb http://nightly.odoo.com/7.0/nightly/deb/ ./ \ 9 | > /etc/apt/sources.list.d/openerp-70.list \ 10 | && export DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 \ 11 | && apt-get update && apt-get install -y --allow-unauthenticated openerp \ 12 | && mkdir ~openerp && chown openerp:openerp ~openerp \ 13 | && service postgresql start && su - postgres -c "createuser -d openerp" \ 14 | && echo H4sIACx6i1MCA+3SwUrDQBAG4JzzFHkA66ZN2oLQg4eiB7WgeBIpMZnWQLMTZnfz/E5j \ 15 | Ipi7YOH/Lsv8P1kysNySJWmvS7aH6I+kapXn/ammZ5pnaTRfZPlitc7Xy2WUztNM6yS6JNPlLsRb \ 16 | K3yUornh74fwHpfcNIWtkk1ighPzUVszdDNH0pEkszIx5MsxntT9U4qDDnrFUMVku1rYNmS9pq8v \ 17 | 2+fNUF097O6ebh+3P/P9TgfzyQ2NF8dF8Ox8IedvvQTqA6FfkVBVC5V+73xFImOsEwe/P/HxUJ/o \ 18 | vFRXiNHRuNDq/9aOZbqAtnEEAAAAAAAAAAAAAAAAAAAAAADwz30BmbMKRgAoAAA= \ 19 | | base64 -di | tar xz -C /etc/supervisor/conf.d 20 | 21 | # Declare volumes for data 22 | VOLUME ["/var/lib/openerp", "/var/lib/postgresql"] 23 | 24 | # Expose HTTP port 25 | EXPOSE 8069 26 | -------------------------------------------------------------------------------- /7.0/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../../trunk-src/ubuntu/README.md -------------------------------------------------------------------------------- /8.0/debian/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/debian-odoo 3 | # TO tinyerp/debian-openerp:8.0 4 | FROM tinyerp/debian-postgresql:9.4 5 | 6 | # Install tarball from master branch on GitHub 7 | # Create PostgreSQL user "odoo" 8 | # Untar configuration "/etc/supervisor/conf.d/odoo.conf" 9 | # and "/etc/odoo/odoo-server.conf" 10 | RUN export DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 \ 11 | && apt-get install -y --no-install-recommends python-geoip python-gevent \ 12 | python-ldap python-lxml python-markupsafe python-pil python-pip \ 13 | python-psutil python-psycopg2 python-pychart python-pydot \ 14 | python-reportlab python-simplejson python-yaml wget wkhtmltopdf \ 15 | && adduser --system --group --home /var/lib/odoo --shell /bin/bash odoo \ 16 | && pg_ctlcluster 9.4 main start && su - postgres -c "createuser -d odoo" \ 17 | && wget -nv -O- https://github.com/odoo/odoo/archive/8.0.tar.gz \ 18 | | tar xz --xform s,^odoo-8.0,odoo, -C /opt && cd /opt/odoo \ 19 | && pip install -e . \ 20 | && echo H4sIAAM2oFMCA+3VzWrCQBQFYNd5ijyAmj/tQnDhwlqhVbCULopImlw1aDLhzkShT9+b \ 21 | 0aKVQjfSIpxvkcmcmQkJyZ2oVClPyaGliXfE7UQVy8Z1+eKu07GtuGz9MPAbQRh1fT8K7bwg9CVy \ 22 | G7fk8uFuxJsqTaYKPXfiNJV2UcZm7fZdT3L7XcgJFcSldxhvngYOgazLs0KWab1PZaHtOlu1Wqzj \ 23 | It0SS9YbT+6nzT3x5oOqVe91MJuMJyNnr3hDrGVC6DTgX+iqlLrPtGKvrvx2at/tdXeB3+q/43dO \ 24 | 9R9EUv9REHVR/39S/yWrFcd5r37tcydReS5l+9MGcPxBuK3E9cgkx7GLP4dTaVvxde5QsctYFTkV \ 25 | RqKX5+GsX+fNx+loMngaHjoPUznzdjF72+zdXs+JK6O0ibleZbgiGzB9i5jSjCkxC21SYv6Kpacq \ 26 | s5DtZ5ltqX4Me2W18s4+9PObliHsPQAAAAAAAAAAAAAAAAAAAHDTPgGW0D0SACgAAA== \ 27 | | base64 -di | tar xz -C /etc 28 | 29 | # Declare volumes for data 30 | VOLUME ["/var/lib/odoo", "/var/lib/postgresql"] 31 | 32 | # Expose HTTP port, and longpolling port 33 | EXPOSE 8069 8072 34 | -------------------------------------------------------------------------------- /8.0/debian/README.md: -------------------------------------------------------------------------------- 1 | ../../trunk-src/debian/README.md -------------------------------------------------------------------------------- /8.0/ubuntu/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/ubuntu-odoo 3 | # TO tinyerp/ubuntu-openerp:8.0 4 | FROM tinyerp/ubuntu-postgresql:9.4 5 | 6 | # Install tarball from master branch on GitHub 7 | # Create PostgreSQL user "odoo" 8 | # Untar configuration "/etc/supervisor/conf.d/odoo.conf" 9 | # and "/etc/odoo/odoo-server.conf" 10 | RUN export DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 \ 11 | && apt-get install -y --no-install-recommends python-geoip python-gevent \ 12 | python-ldap python-lxml python-markupsafe python-pil python-pip \ 13 | python-psutil python-psycopg2 python-pychart python-pydot \ 14 | python-reportlab python-simplejson python-yaml wget wkhtmltopdf \ 15 | && adduser --system --group --home /var/lib/odoo --shell /bin/bash odoo \ 16 | && pg_ctlcluster 9.4 main start && su - postgres -c "createuser -d odoo" \ 17 | && wget -nv -O- https://github.com/odoo/odoo/archive/8.0.tar.gz \ 18 | | tar xz --xform s,^odoo-8.0,odoo, -C /opt && cd /opt/odoo \ 19 | && pip install -e . \ 20 | && echo H4sIAAM2oFMCA+3VzWrCQBQFYNd5ijyAmj/tQnDhwlqhVbCULopImlw1aDLhzkShT9+b \ 21 | 0aKVQjfSIpxvkcmcmQkJyZ2oVClPyaGliXfE7UQVy8Z1+eKu07GtuGz9MPAbQRh1fT8K7bwg9CVy \ 22 | G7fk8uFuxJsqTaYKPXfiNJV2UcZm7fZdT3L7XcgJFcSldxhvngYOgazLs0KWab1PZaHtOlu1Wqzj \ 23 | It0SS9YbT+6nzT3x5oOqVe91MJuMJyNnr3hDrGVC6DTgX+iqlLrPtGKvrvx2at/tdXeB3+q/43dO \ 24 | 9R9EUv9REHVR/39S/yWrFcd5r37tcydReS5l+9MGcPxBuK3E9cgkx7GLP4dTaVvxde5QsctYFTkV \ 25 | RqKX5+GsX+fNx+loMngaHjoPUznzdjF72+zdXs+JK6O0ibleZbgiGzB9i5jSjCkxC21SYv6Kpacq \ 26 | s5DtZ5ltqX4Me2W18s4+9PObliHsPQAAAAAAAAAAAAAAAAAAAHDTPgGW0D0SACgAAA== \ 27 | | base64 -di | tar xz -C /etc 28 | 29 | # Declare volumes for data 30 | VOLUME ["/var/lib/odoo", "/var/lib/postgresql"] 31 | 32 | # Expose HTTP port, and longpolling port 33 | EXPOSE 8069 8072 34 | -------------------------------------------------------------------------------- /8.0/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../../trunk-src/ubuntu/README.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Docker images for Odoo / OpenERP 2 | ================================ 3 | 4 | 5 | This repository provides ~~trusted~~ Dockerfiles for Odoo (formerly OpenERP). 6 | 7 | Built images are uploaded to [hub.docker.com][1] 8 | 9 | 10 | Main images: 11 | 12 | - Odoo trunk on Debian/Ubuntu (./trunk-src/) 13 | - Odoo 8.0 on Debian/Ubuntu (./8.0/) 14 | - OpenERP 7.0 on Debian/Ubuntu (./7.0/) 15 | - OpenERP 6.1 on Debian only (./6.1/) 16 | 17 | 18 | PostgreSQL images: 19 | 20 | - PostgreSQL 9.3 on Debian/Ubuntu (./postgresql/) 21 | - PostgreSQL 9.4 beta on Debian/Ubuntu (./postgresql/) 22 | 23 | 24 | Usage: 25 | 26 | - Install Docker: [docs.docker.com][2] 27 | - Execute 28 | `docker run -d --name odoo -p 8069:8069 tinyerp/debian-odoo` 29 | - Browse [http://<your server ip address>:8069/][3] 30 | - Stop and start again 31 | - `docker stop odoo` 32 | - `docker start odoo` 33 | 34 | Other images are listed on [hub.docker.com][1] 35 | 36 | Note: no trusted images because of [Docker bug #5892][4] 37 | 38 | [1]: https://registry.hub.docker.com/repos/tinyerp/ 39 | [2]: https://docs.docker.com/ "docs.docker.com" 40 | [3]: http://127.0.0.1:8069/ 41 | [4]: https://github.com/dotcloud/docker/issues/5892 42 | -------------------------------------------------------------------------------- /postgresql/9.3-debian/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/debian-postgresql:9.3 3 | FROM debian:jessie 4 | 5 | MAINTAINER Florent Xicluna, @florentxicluna 6 | 7 | # Install PostgreSQL and Dropbear (SSH server) 8 | # Untar configuration "/etc/supervisor/conf.d/" 9 | RUN apt-key adv --keyserver pool.sks-keyservers.net \ 10 | --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 \ 11 | && echo deb http://http.debian.net/debian jessie main contrib non-free \ 12 | > /etc/apt/sources.list.d/debian-jessie.list \ 13 | && echo deb http://apt.postgresql.org/pub/repos/apt/ sid-pgdg main \ 14 | > /etc/apt/sources.list.d/pgdg.list \ 15 | && /bin/rm /etc/apt/sources.list && echo en_US.UTF-8 UTF-8 > /etc/locale.gen \ 16 | && export DEBIAN_FRONTEND=noninteractive LANG && apt-get update \ 17 | && apt-get install -y --no-install-recommends apt-utils dropbear locales \ 18 | logrotate rsync supervisor && echo "root:password" | chpasswd \ 19 | && update-locale LANG=en_US.UTF-8 && . /etc/default/locale \ 20 | && apt-get install -y postgresql-9.3 postgresql-contrib-9.3 \ 21 | && echo H4sIAFhni1MCA+3U22qEMBAGYK99Cl9gjadaurB3fYtSxENWAmrsmCz07Tva1e3aQi+K \ 22 | BeH/ECR/gkGSmYp0X8ic/FJ3Z2cbAUuTZHqz9TuIg8gJoziJ0pSf1AnCIIkix3P2ZP1zO/HSk64p \ 23 | b4/V9SK8uqVu27yrvJMnpCnFPCHIdm6lSJZG0/t61rWDJA5Ja+Pm1ujB5GQ4MGTlFJC8i0h+fisb \ 24 | TCWJ5phH2pqs0fVZNXLc5cJb81AMtpd0UYOmZVOfc9eBP+j5oGo+mrdmuw7wW/0ncbzU/+MD52EY \ 25 | RCnq/1/r/3YR7jqAHbj6VCFu0+LJj0WhuiXyDs/XKv2+rs1V5x1Kb7xbqs7Gmj5NfeOHdWJ1F+eW \ 26 | Msebt5Uv+6OxAAAAAAAAAAAAAAAAAAAAwG58AAcaT1YAKAAA \ 27 | | base64 -di | tar xz -C /etc/supervisor/conf.d 28 | 29 | # Declare volume for log files 30 | VOLUME ["/var/log/supervisor"] 31 | 32 | # Autostart supervisor daemon 33 | CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"] 34 | -------------------------------------------------------------------------------- /postgresql/9.3-debian/README.md: -------------------------------------------------------------------------------- 1 | ../9.4-debian/README.md -------------------------------------------------------------------------------- /postgresql/9.3-ubuntu/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/ubuntu-postgresql:9.3 3 | FROM ubuntu:14.04 4 | 5 | MAINTAINER Florent Xicluna, @florentxicluna 6 | 7 | # Install PostgreSQL and Dropbear (SSH server) 8 | # Untar configuration "/etc/supervisor/conf.d/" 9 | RUN apt-key adv --keyserver pool.sks-keyservers.net \ 10 | --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 \ 11 | && /bin/mv /etc/apt/sources.list /etc/apt/sources.list.d/ubuntu.list \ 12 | && echo deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main \ 13 | > /etc/apt/sources.list.d/pgdg.list \ 14 | && mv /usr/bin/ischroot /usr/bin/chroot.orig \ 15 | && ln -s /bin/true /usr/bin/ischroot \ 16 | && export DEBIAN_FRONTEND=noninteractive LANG && apt-get update \ 17 | && apt-get install -y --no-install-recommends dropbear language-pack-en \ 18 | rsync supervisor && echo "root:password" | chpasswd \ 19 | && update-locale LANG=en_US.UTF-8 && . /etc/default/locale \ 20 | && apt-get install -y postgresql-9.3 postgresql-contrib-9.3 \ 21 | && echo H4sIAFhni1MCA+3U22qEMBAGYK99Cl9gjadaurB3fYtSxENWAmrsmCz07Tva1e3aQi+K \ 22 | BeH/ECR/gkGSmYp0X8ic/FJ3Z2cbAUuTZHqz9TuIg8gJoziJ0pSf1AnCIIkix3P2ZP1zO/HSk64p \ 23 | b4/V9SK8uqVu27yrvJMnpCnFPCHIdm6lSJZG0/t61rWDJA5Ja+Pm1ujB5GQ4MGTlFJC8i0h+fisb \ 24 | TCWJ5phH2pqs0fVZNXLc5cJb81AMtpd0UYOmZVOfc9eBP+j5oGo+mrdmuw7wW/0ncbzU/+MD52EY \ 25 | RCnq/1/r/3YR7jqAHbj6VCFu0+LJj0WhuiXyDs/XKv2+rs1V5x1Kb7xbqs7Gmj5NfeOHdWJ1F+eW \ 26 | Msebt5Uv+6OxAAAAAAAAAAAAAAAAAAAAwG58AAcaT1YAKAAA \ 27 | | base64 -di | tar xz -C /etc/supervisor/conf.d 28 | 29 | # Declare volume for log files 30 | VOLUME ["/var/log/supervisor"] 31 | 32 | # Autostart supervisor daemon 33 | CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"] 34 | -------------------------------------------------------------------------------- /postgresql/9.3-ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../9.4-ubuntu/README.md -------------------------------------------------------------------------------- /postgresql/9.4-debian/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/debian-postgresql:9.4 3 | FROM debian:jessie 4 | 5 | MAINTAINER Florent Xicluna, @florentxicluna 6 | 7 | # Install PostgreSQL and Dropbear (SSH server) 8 | # Untar configuration "/etc/supervisor/conf.d/" 9 | RUN apt-key adv --keyserver pool.sks-keyservers.net \ 10 | --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 \ 11 | && echo deb http://http.debian.net/debian jessie main contrib non-free \ 12 | > /etc/apt/sources.list.d/debian-jessie.list \ 13 | && echo deb http://apt.postgresql.org/pub/repos/apt/ sid-pgdg main \ 14 | > /etc/apt/sources.list.d/pgdg.list \ 15 | && /bin/rm /etc/apt/sources.list && echo en_US.UTF-8 UTF-8 > /etc/locale.gen \ 16 | && export DEBIAN_FRONTEND=noninteractive LANG && apt-get update \ 17 | && apt-get install -y --no-install-recommends apt-utils dropbear locales \ 18 | logrotate rsync supervisor && echo "root:password" | chpasswd \ 19 | && update-locale LANG=en_US.UTF-8 && . /etc/default/locale \ 20 | && apt-get install -y postgresql-9.4 postgresql-contrib-9.4 \ 21 | && echo H4sIADcyi1MCA+3UXWqEMBAHcJ89hRdYEzUILexbb1GK+JGVgBp3kiz09o12Xbu20Iey \ 22 | BeH/ewmZBAfJzDSkx0qWFNd6OAWPwb1ciHn1tivPeBokaSbSPBEizQKecMHzIAr2ZPtzO/E6km6p \ 23 | 7J+bayG8hbXu+3JoomPEpK3ZcsDIDWGjSNZW0/v2NHRGkg+S1jYsndXGlmR9wJKTc4DkXYjk57cK \ 24 | YxtJtIT9TjtbdLo9qU5OWS4+td8y40ZJF2U03ZLGPh4G8Aejf6jWP825e9wE+K3/RZat/T/dSxLu \ 25 | xwD6/z/7fy2EuwngjO8+VbH1mD3FglVquIWiw8u1S7/f60s1RIc6mmpLtcXU08d5bvxwj21qcRkp \ 26 | S/jhY+VLfgwWAAAAAAAAAAAAAAAAAAAA2I0Pl2OMiAAoAAA= \ 27 | | base64 -di | tar xz -C /etc/supervisor/conf.d 28 | 29 | # Declare volume for log files 30 | VOLUME ["/var/log/supervisor"] 31 | 32 | # Autostart supervisor daemon 33 | CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"] 34 | -------------------------------------------------------------------------------- /postgresql/9.4-debian/README.md: -------------------------------------------------------------------------------- 1 | Run PostgreSQL 9.3/9.4 on Debian - September 2014 2 | ------------------------------------------------- 3 | 4 | Base image is Debian Jessie 5 | 6 | Content: 7 | 8 | * Install Dropbear SSH Server and the rsync utility 9 | * Install PostgreSQL 9.3 or 9.4 beta 10 | * Install Supervisor 11 | * Run SSH server and PostgreSQL server on startup 12 | 13 | Images available: 14 | 15 | - `tinyerp/debian-postgresql:9.3` (same as) `:latest` 16 | - `tinyerp/debian-postgresql:9.4` 17 | 18 | Note: the default SSH `root` password is ... `password`. 19 | 20 | (these are the base images for `tinyerp/debian-odoo` builds) 21 | 22 | Source repository: [https://github.com/tinyerp/odoo-docker][1] 23 | 24 | [1]: https://github.com/tinyerp/odoo-docker 25 | -------------------------------------------------------------------------------- /postgresql/9.4-ubuntu/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/ubuntu-postgresql:9.4 3 | FROM ubuntu:14.04 4 | 5 | MAINTAINER Florent Xicluna, @florentxicluna 6 | 7 | # Install PostgreSQL and Dropbear (SSH server) 8 | # Untar configuration "/etc/supervisor/conf.d/" 9 | RUN apt-key adv --keyserver pool.sks-keyservers.net \ 10 | --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 \ 11 | && /bin/mv /etc/apt/sources.list /etc/apt/sources.list.d/ubuntu.list \ 12 | && echo deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main 9.4 \ 13 | > /etc/apt/sources.list.d/pgdg.list \ 14 | && mv /usr/bin/ischroot /usr/bin/chroot.orig \ 15 | && ln -s /bin/true /usr/bin/ischroot \ 16 | && export DEBIAN_FRONTEND=noninteractive LANG && apt-get update \ 17 | && apt-get install -y --no-install-recommends dropbear language-pack-en \ 18 | rsync supervisor && echo "root:password" | chpasswd \ 19 | && update-locale LANG=en_US.UTF-8 && . /etc/default/locale \ 20 | && apt-get install -y postgresql-9.4 postgresql-contrib-9.4 \ 21 | && echo H4sIADcyi1MCA+3UXWqEMBAHcJ89hRdYEzUILexbb1GK+JGVgBp3kiz09o12Xbu20Iey \ 22 | BeH/ewmZBAfJzDSkx0qWFNd6OAWPwb1ciHn1tivPeBokaSbSPBEizQKecMHzIAr2ZPtzO/E6km6p \ 23 | 7J+bayG8hbXu+3JoomPEpK3ZcsDIDWGjSNZW0/v2NHRGkg+S1jYsndXGlmR9wJKTc4DkXYjk57cK \ 24 | YxtJtIT9TjtbdLo9qU5OWS4+td8y40ZJF2U03ZLGPh4G8Aejf6jWP825e9wE+K3/RZat/T/dSxLu \ 25 | xwD6/z/7fy2EuwngjO8+VbH1mD3FglVquIWiw8u1S7/f60s1RIc6mmpLtcXU08d5bvxwj21qcRkp \ 26 | S/jhY+VLfgwWAAAAAAAAAAAAAAAAAAAA2I0Pl2OMiAAoAAA= \ 27 | | base64 -di | tar xz -C /etc/supervisor/conf.d 28 | 29 | # Declare volume for log files 30 | VOLUME ["/var/log/supervisor"] 31 | 32 | # Autostart supervisor daemon 33 | CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"] 34 | -------------------------------------------------------------------------------- /postgresql/9.4-ubuntu/README.md: -------------------------------------------------------------------------------- 1 | Run PostgreSQL 9.3/9.4 on Ubuntu - September 2014 2 | ------------------------------------------------- 3 | 4 | Base image is Ubuntu 14.04 LTS (Trusty Tahr) 5 | 6 | Content: 7 | 8 | * Install Dropbear SSH Server and the rsync utility 9 | * Install PostgreSQL 9.3 or 9.4 beta 10 | * Install Supervisor 11 | * Run SSH server and PostgreSQL server on startup 12 | 13 | Images available: 14 | 15 | - `tinyerp/ubuntu-postgresql:9.3` (same as) `:latest` 16 | - `tinyerp/ubuntu-postgresql:9.4` 17 | 18 | Note: the default SSH `root` password is ... `password`. 19 | 20 | (these are the base images for `tinyerp/ubuntu-odoo` builds) 21 | 22 | Source repository: [https://github.com/tinyerp/odoo-docker][1] 23 | 24 | [1]: https://github.com/tinyerp/odoo-docker 25 | -------------------------------------------------------------------------------- /trunk-deb/debian/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 0.11.1 2 | # TO tinyerp/debian-openerp:8.0 3 | FROM tinyerp/debian-postgresql-9.3 4 | 5 | # Install "openerp.deb" 6 | # Create PostgreSQL user "openerp" 7 | # Untar configuration "/etc/supervisor/conf.d/" 8 | RUN echo deb http://nightly.odoo.com/trunk/nightly/deb/ ./ \ 9 | > /etc/apt/sources.list.d/openerp-trunk.list \ 10 | && export DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 \ 11 | && apt-get update && apt-get install -y --allow-unauthenticated openerp \ 12 | && apt-get install -y wkhtmltopdf python-geoip \ 13 | && mkdir ~openerp && chown openerp:openerp ~openerp \ 14 | && service postgresql start && su - postgres -c "createuser -d openerp" \ 15 | && echo H4sIAHk6WlMCA+2UTU+DQBCGOfMrNj0LCxSWaNKDiY0e/Eg0noxpKGxxE9jF5eP3OxCq \ 16 | FGvSg5hg5rkA7yztbHee2tSYHAcIg6C7AuNrd+96S495zPfcEHLmstAggTEjxpubCTYtVFmlmpfv \ 17 | mR0ruZvop2G+/+P5Bw6D8/fCIGSeF0Duui4LDGLg+U/OS6FVqqP84msMXs1Y5XkkE7IitC41zcR2 \ 18 | MCX03F7SrZCfEbGuCG2io+vySEhixaSdLJFudiLjK8qr+Ni68SSadck19LCPzaiu4DbSFYSVrnkX \ 19 | QGEYaZ4IzeNqU1YJ13ofFyJpv7vdUdupruWoA6vtwIZlJryo6mqTqXT4BjzSsi64bkSp9LBVqJjG \ 20 | bLGpKrjkuphK/pP8H/7/M/Df8T0H/f9T//sx+CZ/a3pfs8DHBpQEnzuH+3hUPnC3L5lcNkIrmXPZ \ 21 | mvr8tH5cLfra4uz24fr+8m49SG4e2kf6pnK+//TFL+t/2PRp1o82Om/zEQRBEARBEARBEARBEARB \ 22 | EARBEARBkP/EB0y9pT8AKAAA \ 23 | | base64 -di | tar xz -C /etc/supervisor/conf.d 24 | 25 | # Declare volumes for PostgreSQL data and logs 26 | VOLUME ["/var/lib/postgresql", "/var/log/postgresql"] 27 | 28 | # Expose HTTP port 29 | EXPOSE 8069 30 | 31 | # Autostart supervisor daemon 32 | CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"] 33 | -------------------------------------------------------------------------------- /trunk-deb/debian/README.md: -------------------------------------------------------------------------------- 1 | ../../trunk-src/debian/README.md -------------------------------------------------------------------------------- /trunk-deb/ubuntu/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 0.11.1 2 | # TO tinyerp/ubuntu-openerp:8.0 3 | FROM tinyerp/ubuntu-postgresql-9.3 4 | 5 | # Install "openerp.deb" 6 | # Create PostgreSQL user "openerp" 7 | # Untar configuration "/etc/supervisor/conf.d/" 8 | RUN echo deb http://nightly.odoo.com/trunk/nightly/deb/ ./ \ 9 | > /etc/apt/sources.list.d/openerp-trunk.list \ 10 | && export DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 \ 11 | && apt-get update && apt-get install -y --allow-unauthenticated openerp \ 12 | && apt-get install -y wkhtmltopdf python-geoip \ 13 | && mkdir ~openerp && chown openerp:openerp ~openerp \ 14 | && service postgresql start && su - postgres -c "createuser -d openerp" \ 15 | && echo H4sIAHk6WlMCA+2UTU+DQBCGOfMrNj0LCxSWaNKDiY0e/Eg0noxpKGxxE9jF5eP3OxCq \ 16 | FGvSg5hg5rkA7yztbHee2tSYHAcIg6C7AuNrd+96S495zPfcEHLmstAggTEjxpubCTYtVFmlmpfv \ 17 | mR0ruZvop2G+/+P5Bw6D8/fCIGSeF0Duui4LDGLg+U/OS6FVqqP84msMXs1Y5XkkE7IitC41zcR2 \ 18 | MCX03F7SrZCfEbGuCG2io+vySEhixaSdLJFudiLjK8qr+Ni68SSadck19LCPzaiu4DbSFYSVrnkX \ 19 | QGEYaZ4IzeNqU1YJ13ofFyJpv7vdUdupruWoA6vtwIZlJryo6mqTqXT4BjzSsi64bkSp9LBVqJjG \ 20 | bLGpKrjkuphK/pP8H/7/M/Df8T0H/f9T//sx+CZ/a3pfs8DHBpQEnzuH+3hUPnC3L5lcNkIrmXPZ \ 21 | mvr8tH5cLfra4uz24fr+8m49SG4e2kf6pnK+//TFL+t/2PRp1o82Om/zEQRBEARBEARBEARBEARB \ 22 | EARBEARBkP/EB0y9pT8AKAAA \ 23 | | base64 -di | tar xz -C /etc/supervisor/conf.d 24 | 25 | # Declare volumes for PostgreSQL data and logs 26 | VOLUME ["/var/lib/postgresql", "/var/log/postgresql"] 27 | 28 | # Expose HTTP port 29 | EXPOSE 8069 30 | 31 | # Autostart supervisor daemon 32 | CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"] 33 | -------------------------------------------------------------------------------- /trunk-deb/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | ../../trunk-src/ubuntu/README.md -------------------------------------------------------------------------------- /trunk-src/debian/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/debian-odoo:9.0alpha 3 | FROM tinyerp/debian-postgresql:9.4 4 | 5 | # Install tarball from master branch on GitHub 6 | # Create PostgreSQL user "odoo" 7 | # Untar configuration "/etc/supervisor/conf.d/odoo.conf" 8 | # and "/etc/odoo/odoo-server.conf" 9 | RUN export DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 \ 10 | && apt-get install -y --no-install-recommends python-geoip python-gevent \ 11 | python-ldap python-lxml python-markupsafe python-pil python-pip \ 12 | python-psutil python-psycopg2 python-pychart python-pydot \ 13 | python-reportlab python-simplejson python-yaml wget wkhtmltopdf \ 14 | && adduser --system --group --home /var/lib/odoo --shell /bin/bash odoo \ 15 | && pg_ctlcluster 9.4 main start && su - postgres -c "createuser -d odoo" \ 16 | && wget -nv -O- https://github.com/odoo/odoo/archive/master.tar.gz \ 17 | | tar xz --xform s,^odoo-master,odoo, -C /opt && cd /opt/odoo \ 18 | && pip install -e . \ 19 | && echo H4sIAAM2oFMCA+3VzWrCQBQFYNd5ijyAmj/tQnDhwlqhVbCULopImlw1aDLhzkShT9+b \ 20 | 0aKVQjfSIpxvkcmcmQkJyZ2oVClPyaGliXfE7UQVy8Z1+eKu07GtuGz9MPAbQRh1fT8K7bwg9CVy \ 21 | G7fk8uFuxJsqTaYKPXfiNJV2UcZm7fZdT3L7XcgJFcSldxhvngYOgazLs0KWab1PZaHtOlu1Wqzj \ 22 | It0SS9YbT+6nzT3x5oOqVe91MJuMJyNnr3hDrGVC6DTgX+iqlLrPtGKvrvx2at/tdXeB3+q/43dO \ 23 | 9R9EUv9REHVR/39S/yWrFcd5r37tcydReS5l+9MGcPxBuK3E9cgkx7GLP4dTaVvxde5QsctYFTkV \ 24 | RqKX5+GsX+fNx+loMngaHjoPUznzdjF72+zdXs+JK6O0ibleZbgiGzB9i5jSjCkxC21SYv6Kpacq \ 25 | s5DtZ5ltqX4Me2W18s4+9PObliHsPQAAAAAAAAAAAAAAAAAAAHDTPgGW0D0SACgAAA== \ 26 | | base64 -di | tar xz -C /etc 27 | 28 | # Declare volumes for data 29 | VOLUME ["/var/lib/odoo", "/var/lib/postgresql"] 30 | 31 | # Expose HTTP port, and longpolling port 32 | EXPOSE 8069 8072 33 | -------------------------------------------------------------------------------- /trunk-src/debian/README.md: -------------------------------------------------------------------------------- 1 | Run OpenERP on Debian - September 2014 2 | -------------------------------------- 3 | 4 | *Built with Docker 1.2.0* 5 | 6 | Features: 7 | 8 | - Debian Jessie 9 | - PostgreSQL 9.3 or 9.4 10 | - OpenERP 7.0 or 8.0 11 | - SSH server 12 | - Supervisor 13 | 14 | (Ubuntu build : [tinyerp/ubuntu-openerp][1]) 15 | 16 | Usage: 17 | 18 | - Install Docker: [docs.docker.com][2] 19 | - Execute 20 | `docker run -d --name openerp -p 8069:8069 tinyerp/debian-openerp` 21 | - Browse [http://<your server ip address>:8069/][3] 22 | - Stop and start again 23 | - `docker stop openerp` 24 | - `docker start openerp` 25 | 26 | Manhole access: 27 | 28 | 1. `OPENERP_IP=$(docker inspect --format='{{.NetworkSettings.IPAddress}}' openerp)` 29 | 2. `ssh-keygen -R $OPENERP_IP` (because Docker assigns the same IP to different hosts) 30 | 3. `ssh root@$OPENERP_IP -p 22` (default password `password`) 31 | 32 | Images available: 33 | 34 | - `tinyerp/debian-openerp:6.1` 35 | - `tinyerp/debian-openerp:7.0` (same as) `tinyerp/debian-openerp` 36 | - `tinyerp/debian-openerp:8.0` (same as) `tinyerp/debian-odoo` 37 | 38 | Source repository: [https://github.com/tinyerp/odoo-docker][4] 39 | 40 | [1]: https://registry.hub.docker.com/u/tinyerp/ubuntu-openerp/ 41 | [2]: https://docs.docker.com/ "docs.docker.com" 42 | [3]: http://127.0.0.1:8069/ 43 | [4]: https://github.com/tinyerp/odoo-docker 44 | -------------------------------------------------------------------------------- /trunk-src/ubuntu/Dockerfile: -------------------------------------------------------------------------------- 1 | # DOCKER-VERSION 1.2.0 2 | # TO tinyerp/ubuntu-odoo:9.0alpha 3 | FROM tinyerp/ubuntu-postgresql:9.4 4 | 5 | # Install tarball from master branch on GitHub 6 | # Create PostgreSQL user "odoo" 7 | # Untar configuration "/etc/supervisor/conf.d/odoo.conf" 8 | # and "/etc/odoo/odoo-server.conf" 9 | RUN export DEBIAN_FRONTEND=noninteractive LANG=en_US.UTF-8 \ 10 | && apt-get install -y --no-install-recommends python-geoip python-gevent \ 11 | python-ldap python-lxml python-markupsafe python-pil python-pip \ 12 | python-psutil python-psycopg2 python-pychart python-pydot \ 13 | python-reportlab python-simplejson python-yaml wget wkhtmltopdf \ 14 | && adduser --system --group --home /var/lib/odoo --shell /bin/bash odoo \ 15 | && pg_ctlcluster 9.4 main start && su - postgres -c "createuser -d odoo" \ 16 | && wget -nv -O- https://github.com/odoo/odoo/archive/master.tar.gz \ 17 | | tar xz --xform s,^odoo-master,odoo, -C /opt && cd /opt/odoo \ 18 | && pip install -e . \ 19 | && echo H4sIAAM2oFMCA+3VzWrCQBQFYNd5ijyAmj/tQnDhwlqhVbCULopImlw1aDLhzkShT9+b \ 20 | 0aKVQjfSIpxvkcmcmQkJyZ2oVClPyaGliXfE7UQVy8Z1+eKu07GtuGz9MPAbQRh1fT8K7bwg9CVy \ 21 | G7fk8uFuxJsqTaYKPXfiNJV2UcZm7fZdT3L7XcgJFcSldxhvngYOgazLs0KWab1PZaHtOlu1Wqzj \ 22 | It0SS9YbT+6nzT3x5oOqVe91MJuMJyNnr3hDrGVC6DTgX+iqlLrPtGKvrvx2at/tdXeB3+q/43dO \ 23 | 9R9EUv9REHVR/39S/yWrFcd5r37tcydReS5l+9MGcPxBuK3E9cgkx7GLP4dTaVvxde5QsctYFTkV \ 24 | RqKX5+GsX+fNx+loMngaHjoPUznzdjF72+zdXs+JK6O0ibleZbgiGzB9i5jSjCkxC21SYv6Kpacq \ 25 | s5DtZ5ltqX4Me2W18s4+9PObliHsPQAAAAAAAAAAAAAAAAAAAHDTPgGW0D0SACgAAA== \ 26 | | base64 -di | tar xz -C /etc 27 | 28 | # Declare volumes for data 29 | VOLUME ["/var/lib/odoo", "/var/lib/postgresql"] 30 | 31 | # Expose HTTP port, and longpolling port 32 | EXPOSE 8069 8072 33 | -------------------------------------------------------------------------------- /trunk-src/ubuntu/README.md: -------------------------------------------------------------------------------- 1 | Run OpenERP on Ubuntu - September 2014 2 | -------------------------------------- 3 | 4 | *Built with Docker 1.2.0* 5 | 6 | Features: 7 | 8 | - Ubuntu 14.04 LTS (Trusty Tahr) 9 | - PostgreSQL 9.3 or 9.4 10 | - OpenERP 7.0 or 8.0 11 | - SSH server 12 | - Supervisor 13 | 14 | (Debian build : [tinyerp/debian-openerp][1]) 15 | 16 | Usage: 17 | 18 | - Install Docker: [docs.docker.com][2] 19 | - Execute 20 | `docker run -d --name openerp -p 8069:8069 tinyerp/ubuntu-openerp` 21 | - Browse [http://<your server ip address>:8069/][3] 22 | - Stop and start again 23 | - `docker stop openerp` 24 | - `docker start openerp` 25 | 26 | Manhole access: 27 | 28 | 1. `OPENERP_IP=$(docker inspect --format='{{.NetworkSettings.IPAddress}}' openerp)` 29 | 2. `ssh-keygen -R $OPENERP_IP` (because Docker assigns the same IP to different hosts) 30 | 3. `ssh root@$OPENERP_IP -p 22` (default password `password`) 31 | 32 | Images available: 33 | 34 | - `tinyerp/ubuntu-openerp:7.0` (same as) `tinyerp/ubuntu-openerp` 35 | - `tinyerp/ubuntu-openerp:8.0` (same as) `tinyerp/ubuntu-odoo` 36 | 37 | Source repository: [https://github.com/tinyerp/odoo-docker][4] 38 | 39 | [1]: https://registry.hub.docker.com/u/tinyerp/debian-openerp/ 40 | [2]: https://docs.docker.com/ "docs.docker.com" 41 | [3]: http://127.0.0.1:8069/ 42 | [4]: https://github.com/tinyerp/odoo-docker 43 | --------------------------------------------------------------------------------