Skip to content

Commit

Permalink
[FIX] 17.0 and 18.0: libcairo2-dev
Browse files Browse the repository at this point in the history
Need to print barcodes.
  • Loading branch information
Ivan Sokolov committed Dec 16, 2024
1 parent 24fdf65 commit 3d1176f
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 16.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
RUN curl https://raw.githubusercontent.com/odoo/odoo/${ODOO_VERSION}/requirements.txt > /tmp/requirements.txt && \
pip3 install -r /tmp/requirements.txt

# Istall libcairo2 to print barcodes
# Required print barcodes
RUN pip3 install rlPyCairo

# Add "odoo" user. We use same guid uid as in the official Odoo image
Expand Down
2 changes: 1 addition & 1 deletion 16.0/Dockerfile.odoo
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ RUN pip install --no-cache-dir --upgrade pip && \
RUN curl https://raw.githubusercontent.com/odoo/odoo/${ODOO_VERSION}/requirements.txt > /tmp/requirements.txt && \
pip3 install -r /tmp/requirements.txt

# Istall libcairo2 to print barcodes
# Required print barcodes
RUN pip3 install rlPyCairo

# Add "odoo" user. We use same guid uid as in the official Odoo image
Expand Down
8 changes: 7 additions & 1 deletion 17.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -qq --n
# some other build tools
swig \
libffi-dev \
pkg-config
pkg-config \
# Needed to print barcodes
libcairo2-dev


# Install wkhtmltopdf
RUN if [ -z "${TARGETARCH}" ]; then \
Expand Down Expand Up @@ -64,6 +67,9 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir manifestoo git-aggregator click-odoo

# Required print barcodes
RUN pip3 install rlPyCairo


# Install Odoo python dependencies
RUN curl https://raw.githubusercontent.com/odoo/odoo/${ODOO_VERSION}/requirements.txt > /tmp/requirements.txt && \
Expand Down
7 changes: 6 additions & 1 deletion 17.0/Dockerfile.odoo
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -qq --n
# some other build tools
swig \
libffi-dev \
pkg-config
pkg-config \
# Needed to print barcodes
libcairo2-dev


# Install wkhtmltopdf
RUN if [ -z "${TARGETARCH}" ]; then \
Expand Down Expand Up @@ -68,6 +71,8 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir manifestoo git-aggregator click-odoo

# Required print barcodes
RUN pip3 install rlPyCairo

# Install Odoo python dependencies
RUN curl https://raw.githubusercontent.com/odoo/odoo/${ODOO_VERSION}/requirements.txt > /tmp/requirements.txt && \
Expand Down
7 changes: 6 additions & 1 deletion 18.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -qq --n
# some other build tools
swig \
libffi-dev \
pkg-config
pkg-config \
# Needed to print barcodes
libcairo2-dev


# Install wkhtmltopdf
RUN if [ -z "${TARGETARCH}" ]; then \
Expand Down Expand Up @@ -64,6 +67,8 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir manifestoo git-aggregator click-odoo

# Required print barcodes
RUN pip3 install rlPyCairo

# Install Odoo python dependencies
RUN curl https://raw.githubusercontent.com/odoo/odoo/${ODOO_VERSION}/requirements.txt > /tmp/requirements.txt && \
Expand Down
7 changes: 6 additions & 1 deletion 18.0/Dockerfile.odoo
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ RUN apt-get update -qq && DEBIAN_FRONTEND=noninteractive apt-get install -qq --n
# some other build tools
swig \
libffi-dev \
pkg-config
pkg-config \
# Needed to print barcodes
libcairo2-dev


# Install wkhtmltopdf
RUN if [ -z "${TARGETARCH}" ]; then \
Expand Down Expand Up @@ -68,6 +71,8 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir manifestoo git-aggregator click-odoo

# Required print barcodes
RUN pip3 install rlPyCairo

# Install Odoo python dependencies
RUN curl https://raw.githubusercontent.com/odoo/odoo/${ODOO_VERSION}/requirements.txt > /tmp/requirements.txt && \
Expand Down

0 comments on commit 3d1176f

Please sign in to comment.