File tree Expand file tree Collapse file tree 5 files changed +18
-17
lines changed
Expand file tree Collapse file tree 5 files changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ ENV LANG=C.UTF-8 \
1515 LC_ALL=C.UTF-8
1616
1717# build and dev packages
18- ENV BUILD_PACKAGE \
18+ ENV BUILD_PACKAGE= " \
1919 build-essential \
2020 gcc \
2121 libevent-dev \
@@ -28,8 +28,7 @@ ENV BUILD_PACKAGE \
2828 libjpeg-dev \
2929 libpng-dev \
3030 zlib1g-dev \
31- libcairo2-dev
32-
31+ libcairo2-dev"
3332
3433
3534# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
@@ -65,7 +64,7 @@ VOLUME ["/data/odoo", "/var/log/odoo"]
6564USER odoo
6665RUN python3 -m venv /odoo/.venv --system-site-packages
6766ENV PATH=/odoo/.venv/bin:$PATH
68- ENV PYTHONPATH=$PYTHONPATH: /odoo/
67+ ENV PYTHONPATH=/odoo/
6968RUN echo "export PATH=$PATH" >> ~/.bashrc
7069
7170RUN /odoo/.venv/bin/pip install -r /odoo/base_requirements.txt
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ ENV LANG=C.UTF-8 \
1515 LC_ALL=C.UTF-8
1616
1717# build and dev packages
18- ENV BUILD_PACKAGE \
18+ ENV BUILD_PACKAGE= " \
1919 build-essential \
2020 gcc \
2121 libevent-dev \
@@ -28,8 +28,7 @@ ENV BUILD_PACKAGE \
2828 libjpeg-dev \
2929 libpng-dev \
3030 zlib1g-dev \
31- libcairo2-dev
32-
31+ libcairo2-dev"
3332
3433
3534# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
@@ -65,7 +64,7 @@ VOLUME ["/data/odoo", "/var/log/odoo"]
6564USER odoo
6665RUN python3 -m venv /odoo/.venv --system-site-packages
6766ENV PATH=/odoo/.venv/bin:$PATH
68- ENV PYTHONPATH=$PYTHONPATH: /odoo/
67+ ENV PYTHONPATH=/odoo/
6968RUN echo "export PATH=$PATH" >> ~/.bashrc
7069
7170RUN /odoo/.venv/bin/pip install -r /odoo/base_requirements.txt
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ ENV LANG=C.UTF-8 \
1414 LC_ALL=C.UTF-8
1515
1616# build and dev packages
17- ENV BUILD_PACKAGE \
17+ ENV BUILD_PACKAGE= " \
1818 build-essential \
1919 gcc \
2020 libevent-dev \
@@ -27,7 +27,8 @@ ENV BUILD_PACKAGE \
2727 libjpeg-dev \
2828 libpng-dev \
2929 zlib1g-dev \
30- libcairo2-dev
30+ libcairo2-dev"
31+
3132
3233# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
3334# wkhtml-buster is kept as in official image, no deb available for bullseye
@@ -62,7 +63,7 @@ VOLUME ["/data/odoo", "/var/log/odoo"]
6263USER odoo
6364RUN python3 -m venv /odoo/.venv --system-site-packages
6465ENV PATH=/odoo/.venv/bin:$PATH
65- ENV PYTHONPATH=$PYTHONPATH: /odoo/
66+ ENV PYTHONPATH=/odoo/
6667RUN echo "export PATH=$PATH" >> ~/.bashrc
6768
6869RUN /odoo/.venv/bin/pip install -r /odoo/base_requirements.txt
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ ENV LANG=C.UTF-8 \
1515 LC_ALL=C.UTF-8
1616
1717# build and dev packages
18- ENV BUILD_PACKAGE \
18+ ENV BUILD_PACKAGE= " \
1919 build-essential \
2020 gcc \
2121 libevent-dev \
@@ -28,7 +28,8 @@ ENV BUILD_PACKAGE \
2828 libjpeg-dev \
2929 libpng-dev \
3030 zlib1g-dev \
31- libcairo2-dev
31+ libcairo2-dev"
32+
3233
3334# run in a virtualenv
3435# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
@@ -64,7 +65,7 @@ VOLUME ["/data/odoo", "/var/log/odoo"]
6465USER odoo
6566RUN python3 -m venv /odoo/.venv --system-site-packages
6667ENV PATH=/odoo/.venv/bin:$PATH
67- ENV PYTHONPATH=$PYTHONPATH: /odoo/
68+ ENV PYTHONPATH=/odoo/
6869RUN echo "export PATH=$PATH" >> ~/.bashrc
6970
7071RUN /odoo/.venv/bin/pip install -r /odoo/base_requirements.txt
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ ENV LANG=C.UTF-8 \
1414 LC_ALL=C.UTF-8
1515
1616# build and dev packages
17- ENV BUILD_PACKAGE \
17+ ENV BUILD_PACKAGE= " \
1818 build-essential \
1919 gcc \
2020 libevent-dev \
@@ -27,7 +27,7 @@ ENV BUILD_PACKAGE \
2727 libjpeg-dev \
2828 libpng-dev \
2929 zlib1g-dev \
30- libcairo2-dev
30+ libcairo2-dev"
3131
3232
3333# Install some deps, lessc and less-plugin-clean-css, and wkhtmltopdf
@@ -43,6 +43,7 @@ RUN set -x; \
4343# grab dockerize to generate template and
4444# wait on postgres
4545RUN /install/dockerize.sh
46+
4647COPY ./src_requirements.txt /odoo
4748COPY ./bin /odoo/odoo-bin
4849COPY ./templates /templates
@@ -62,7 +63,7 @@ VOLUME ["/data/odoo", "/var/log/odoo"]
6263USER odoo
6364RUN python3 -m venv /odoo/.venv --system-site-packages
6465ENV PATH=/odoo/.venv/bin:$PATH
65- ENV PYTHONPATH=$PYTHONPATH: /odoo/
66+ ENV PYTHONPATH=/odoo/
6667RUN echo "export PATH=$PATH" >> ~/.bashrc
6768
6869RUN /odoo/.venv/bin/pip install -r /odoo/base_requirements.txt
You can’t perform that action at this time.
0 commit comments