Fix armhf & aarch

This commit is contained in:
chbmb 2019-06-03 00:13:31 +01:00
parent d58aaabd4d
commit a9ae6f095c
3 changed files with 40 additions and 12 deletions

View File

@ -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/*

View File

@ -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/*

View File

@ -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
COPY root/ /