Skip to content

Commit

Permalink
Properly activate the python venv
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jun 13, 2024
1 parent 2aa29db commit 3c61014
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile-11.0
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ RUN set -x \
&& $PYTHONBIN -m venv /odoo \
&& /odoo/bin/pip install -U pip wheel setuptools
ENV PATH=/odoo/bin:$PATH
ENV VIRTUAL_ENV=/odoo

# odoo config file
COPY ./templates/${ODOO_VERSION} /odoo/templates
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-12.0
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN set -x \
&& $PYTHONBIN -m venv /odoo \
&& /odoo/bin/pip install -U pip wheel setuptools
ENV PATH=/odoo/bin:$PATH
ENV VIRTUAL_ENV=/odoo

# odoo config file
COPY ./templates/${ODOO_VERSION} /odoo/templates
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-13.0
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN set -x \
&& $PYTHONBIN -m venv /odoo \
&& /odoo/bin/pip install -U pip wheel setuptools
ENV PATH=/odoo/bin:$PATH
ENV VIRTUAL_ENV=/odoo

# odoo config file
COPY ./templates/${ODOO_VERSION} /odoo/templates
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-14.0
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN set -x \
&& $PYTHONBIN -m venv /odoo \
&& /odoo/bin/pip install -U pip wheel setuptools
ENV PATH=/odoo/bin:$PATH
ENV VIRTUAL_ENV=/odoo

# odoo config file
COPY ./templates/${ODOO_VERSION} /odoo/templates
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-15.0
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN set -x \
&& $PYTHONBIN -m venv /odoo \
&& /odoo/bin/pip install -U pip wheel setuptools
ENV PATH=/odoo/bin:$PATH
ENV VIRTUAL_ENV=/odoo

# odoo config file
COPY ./templates/${ODOO_VERSION} /odoo/templates
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-16.0
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN set -x \
&& $PYTHONBIN -m venv /odoo \
&& /odoo/bin/pip install -U pip wheel setuptools
ENV PATH=/odoo/bin:$PATH
ENV VIRTUAL_ENV=/odoo

# odoo config file
COPY ./templates/${ODOO_VERSION} /odoo/templates
Expand Down
1 change: 1 addition & 0 deletions Dockerfile-17.0
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN set -x \
&& $PYTHONBIN -m venv /odoo \
&& /odoo/bin/pip install -U pip wheel setuptools
ENV PATH=/odoo/bin:$PATH
ENV VIRTUAL_ENV=/odoo

# odoo config file
COPY ./templates/${ODOO_VERSION} /odoo/templates
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Features exposed by these images

* Ubuntu minimal because it's small and has recent pythons

* ``python``, obviously.
* ``python``, obviously, in an activated virtual environment.
* An entrypoint that generates the Odoo config file (``$ODOO_RC``) from environment
variables (see the list of supported variables below).
* ``/usr/local/bin/wkhtmltopdf`` is the `kwkhtmltopdf
Expand Down

0 comments on commit 3c61014

Please sign in to comment.