Added ARM64 for Odoo 16.0
This commit is contained in:
parent
d04d885eea
commit
7bba007b8a
@ -32,11 +32,19 @@ RUN apt-get update && \
|
|||||||
python3-watchdog \
|
python3-watchdog \
|
||||||
python3-xlrd \
|
python3-xlrd \
|
||||||
python3-xlwt \
|
python3-xlwt \
|
||||||
xz-utils \
|
xz-utils
|
||||||
&& curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb \
|
|
||||||
|
# Install wkhtmltopdf according to the architecture
|
||||||
|
RUN case "$(uname -m)" in \
|
||||||
|
aarch64) curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_arm64.deb \
|
||||||
|
&& echo 'abf9e031dd561b46e82744b72588d9c5d4c303ca wkhtmltox.deb' | sha1sum -c - \
|
||||||
|
&& apt-get install -y --no-install-recommends ./wkhtmltox.deb \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb ;; \
|
||||||
|
x86_64) curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb \
|
||||||
&& echo 'ea8277df4297afc507c61122f3c349af142f31e5 wkhtmltox.deb' | sha1sum -c - \
|
&& echo 'ea8277df4297afc507c61122f3c349af142f31e5 wkhtmltox.deb' | sha1sum -c - \
|
||||||
&& apt-get install -y --no-install-recommends ./wkhtmltox.deb \
|
&& apt-get install -y --no-install-recommends ./wkhtmltox.deb \
|
||||||
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb
|
&& rm -rf /var/lib/apt/lists/* wkhtmltox.deb ;; \
|
||||||
|
esac;
|
||||||
|
|
||||||
# install latest postgresql-client
|
# install latest postgresql-client
|
||||||
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
|
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
|
||||||
|
Loading…
Reference in New Issue
Block a user