Install the libraries that j2cli relies on from source, for arm arch.

This commit is contained in:
taocy 2020-05-21 07:22:19 +00:00
parent ddd6368e64
commit 00e7e14927
2 changed files with 10 additions and 8 deletions

View File

@ -62,12 +62,13 @@ RUN apt-get update && \
libpython2.7 \ libpython2.7 \
libdaemon0 \ libdaemon0 \
libdbus-1-3 \ libdbus-1-3 \
libjansson4 libjansson4 \
# ip and ifconfig utility missing in docker for arm arch # ip and ifconfig utility missing in docker for arm arch
RUN apt-get -y install \
iproute2 \ iproute2 \
net-tools net-tools \
# for arm arch: Installing j2cli dependency package MarkupSafe from source relies on weeksetuptools and wheel
python-setuptools \
python-wheel
# For templating # For templating
RUN pip install j2cli RUN pip install j2cli

View File

@ -60,12 +60,13 @@ RUN apt-get update && \
libpython2.7 \ libpython2.7 \
libdaemon0 \ libdaemon0 \
libdbus-1-3 \ libdbus-1-3 \
libjansson4 libjansson4 \
# ip and ifconfig utility missing in docker for arm arch # ip and ifconfig utility missing in docker for arm arch
RUN apt-get -y install \
iproute2 \ iproute2 \
net-tools net-tools \
# for arm arch: Installing j2cli dependency package MarkupSafe from source relies on weeksetuptools and wheel
python-setuptools \
python-wheel
# For templating # For templating
RUN pip install j2cli RUN pip install j2cli