Skip to content

Commit cfbbc7c

Browse files
committed
ADD 15.0 version
1 parent 055f945 commit cfbbc7c

File tree

4 files changed

+150
-0
lines changed

4 files changed

+150
-0
lines changed

15.0/Dockerfile

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
FROM ghcr.io/acsone/odoo-bedrock:15.0-py38-latest
2+
MAINTAINER Akretion
3+
4+
# syntax = docker/dockerfile:1.4
5+
6+
# List from https://github.com/camptocamp/docker-odoo-project/blob/master/15.0/Dockerfile
7+
ENV BUILD_PACKAGE \
8+
build-essential \
9+
gcc \
10+
python3.8-dev \
11+
libevent-dev \
12+
libfreetype6-dev \
13+
libxml2-dev \
14+
libxslt1-dev \
15+
libsasl2-dev \
16+
libldap2-dev \
17+
libssl-dev \
18+
libjpeg-dev \
19+
libpng-dev \
20+
zlib1g-dev \
21+
git \
22+
# Additionnal dep from Ak
23+
#vim \
24+
po4a \
25+
postgresql-client \
26+
libpq-dev \
27+
libmupdf-dev \
28+
mupdf-tools \
29+
mupdf \
30+
expect
31+
32+
# recreate isolate env
33+
RUN set -x \
34+
&& rm -rf /odoo/bin \
35+
&& python3.8 -m venv /env \
36+
&& /env/bin/pip install -U pip wheel setuptools
37+
ENV PATH=/env/bin:$PATH
38+
39+
RUN --mount=type=cache,target=/var/cache/apt \
40+
apt-get update \
41+
&& apt-get install -y --no-install-recommends $BUILD_PACKAGE
42+
43+
COPY 15.0/base_requirements.txt /tmp/base_requirements.txt
44+
RUN pip install --no-cache-dir -r /tmp/base_requirements.txt
45+
46+
COPY 15.0/ak_requirements.txt /tmp/ak_requirements.txt
47+
RUN pip install --no-cache-dir -r /tmp/ak_requirements.txt
48+
49+
ENV ADDONS_PATH=/odoo/src/addons,/odoo/local-src,/odoo/links
50+
51+
COPY install/* /install/
52+
RUN --mount=type=cache,target=/root/.cache /install/install_tool && rm /install/install_tool
53+
54+
COPY install/repos.yaml /root/.config/git-autoshare/repos.yml
55+
COPY bin/* /usr/local/bin/
56+
57+
58+
# customize entrypoint
59+
60+
ENTRYPOINT ["/usr/local/bin/ak-entrypoint.sh"]
61+
CMD ["odoo"]

15.0/ak_requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
click-odoo-contrib>=1.16.0
2+
#sentry_sdk>=1.9.9
3+
git+https://github.com/oca/openupgradelib.git@master
4+
odoo_test_helper==2.0.2

15.0/base_requirements.txt

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# Odoo dependencies
2+
Babel==2.11.0
3+
chardet==5.0.0
4+
decorator==5.1.1
5+
docutils==0.19
6+
ebaysdk==2.2.0
7+
freezegun==1.2.2
8+
gevent==22.10.2
9+
greenlet==2.0.1
10+
html2text==2020.1.16
11+
idna==3.4
12+
Jinja2==3.1.2
13+
libsass==0.22.0
14+
lxml==4.9.1
15+
Mako==1.2.4
16+
MarkupSafe==2.1.1
17+
num2words==0.5.12
18+
ofxparse==0.21
19+
passlib==1.7.4
20+
Pillow==9.3.0
21+
polib==1.1.1
22+
psutil==5.9.4
23+
psycopg2==2.9.5
24+
pydot==1.4.2
25+
python-ldap==3.4.3
26+
PyPDF2==1.27.12
27+
pyserial==3.5
28+
python-dateutil==2.8.2
29+
pytz==2022.6
30+
pyusb==1.2.1
31+
qrcode==7.3.1
32+
reportlab==3.6.12
33+
requests==2.28.1
34+
zeep==4.2.1
35+
python-stdnum==1.18
36+
vobject==0.9.6.1
37+
Werkzeug==0.16.1
38+
XlsxWriter==3.0.3
39+
xlwt==1.3.*
40+
xlrd==2.0.1
41+
pyOpenSSL==22.1.0
42+
43+
setuptools<58
44+
45+
46+
# Not part of official requirements, but used by some addons
47+
# colorama==0.3.9
48+
gdata==2.0.18
49+
html5lib==1.1
50+
odfpy==1.4.1
51+
pyinotify==0.9.6
52+
simplejson==3.18.0
53+
urllib3==1.26.11
54+
55+
# test / lint
56+
# those libs and their dependencies are unpinned
57+
# to always test with the last version of it
58+
flake8
59+
pytest>=5.4.2
60+
pluggy
61+
coverage
62+
pytest-odoo>=0.4.7
63+
pytest-cov>=2.10.0
64+
watchdog
65+
66+
# Library dependency
67+
argh==0.26.2
68+
atomicwrites==1.4.1
69+
attrs==22.1.0
70+
beautifulsoup4==4.11.1
71+
future==0.18.2
72+
mccabe==0.7.0
73+
more-itertools==9.0.0
74+
pathtools==0.1.2
75+
pbr==5.11.0
76+
pexpect==4.8.0
77+
ptyprocess==0.7.0
78+
py==1.11.0
79+
pycodestyle==2.10.0
80+
pyflakes==3.0.1
81+
unicodecsv==0.14.1
82+
wrapt==1.14.1

update_base_requirement

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ set -Eeuo pipefail
44
rm -rf 16.0/base_requirements.txt
55
wget https://raw.githubusercontent.com/camptocamp/docker-odoo-project/master/16.0/base_requirements.txt -O 16.0/base_requirements.txt
66

7+
rm -rf 15.0/base_requirements.txt
8+
wget https://raw.githubusercontent.com/camptocamp/docker-odoo-project/master/15.0/base_requirements.txt -O 15.0/base_requirements.txt
9+
710
rm -rf 14.0/base_requirements.txt
811
wget https://raw.githubusercontent.com/camptocamp/docker-odoo-project/master/14.0/base_requirements.txt -O 14.0/base_requirements.txt
912

0 commit comments

Comments
 (0)