Fix armhf & aarch
This commit is contained in:
parent
d58aaabd4d
commit
a9ae6f095c
@ -36,6 +36,10 @@ RUN \
|
||||
pip install --no-cache-dir -U -r \
|
||||
optional-requirements.txt && \
|
||||
echo "**** cleanup ****" && \
|
||||
apt-get -y remove \
|
||||
git \
|
||||
python-pip && \
|
||||
apt-get -y autoremove && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
|
@ -11,8 +11,15 @@ RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
g++ \
|
||||
gcc \
|
||||
git \
|
||||
python-pip && \
|
||||
libffi-dev \
|
||||
libjpeg-dev \
|
||||
libxml2-dev \
|
||||
libxslt1-dev \
|
||||
python-pip \
|
||||
zlib1g-dev && \
|
||||
echo "**** install runtime packages ****" && \
|
||||
apt-get install -y \
|
||||
imagemagick \
|
||||
@ -37,8 +44,15 @@ RUN \
|
||||
optional-requirements.txt && \
|
||||
echo "**** cleanup ****" && \
|
||||
apt-get -y remove \
|
||||
git \
|
||||
python-pip && \
|
||||
g++ \
|
||||
gcc \
|
||||
git \
|
||||
libffi-dev \
|
||||
libjpeg-dev \
|
||||
libxml2-dev \
|
||||
libxslt1-dev \
|
||||
python-pip \
|
||||
zlib1g-dev && \
|
||||
apt-get -y autoremove && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
@ -11,8 +11,15 @@ RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
g++ \
|
||||
gcc \
|
||||
git \
|
||||
python-pip && \
|
||||
libffi-dev \
|
||||
libjpeg-dev \
|
||||
libxml2-dev \
|
||||
libxslt1-dev \
|
||||
python-pip \
|
||||
zlib1g-dev && \
|
||||
echo "**** install runtime packages ****" && \
|
||||
apt-get install -y \
|
||||
imagemagick \
|
||||
@ -37,15 +44,18 @@ RUN \
|
||||
optional-requirements.txt && \
|
||||
echo "**** cleanup ****" && \
|
||||
apt-get -y remove \
|
||||
git \
|
||||
python-pip && \
|
||||
apt-get -y autoremove && \
|
||||
g++ \
|
||||
gcc \
|
||||
git \
|
||||
libffi-dev \
|
||||
libjpeg-dev \
|
||||
libxml2-dev \
|
||||
libxslt1-dev \
|
||||
python-pip \
|
||||
zlib1g-dev && \
|
||||
apt-get -y autoremove && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
||||
# ports and volumes
|
||||
EXPOSE 8083
|
||||
VOLUME /books /config
|
Loading…
Reference in New Issue
Block a user