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 \ pip install --no-cache-dir -U -r \
optional-requirements.txt && \ optional-requirements.txt && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apt-get -y remove \
git \
python-pip && \
apt-get -y autoremove && \
rm -rf \ rm -rf \
/tmp/* /tmp/*

View File

@ -11,8 +11,15 @@ RUN \
echo "**** install build packages ****" && \ echo "**** install build packages ****" && \
apt-get update && \ apt-get update && \
apt-get install -y \ apt-get install -y \
g++ \
gcc \
git \ git \
python-pip && \ libffi-dev \
libjpeg-dev \
libxml2-dev \
libxslt1-dev \
python-pip \
zlib1g-dev && \
echo "**** install runtime packages ****" && \ echo "**** install runtime packages ****" && \
apt-get install -y \ apt-get install -y \
imagemagick \ imagemagick \
@ -37,8 +44,15 @@ RUN \
optional-requirements.txt && \ optional-requirements.txt && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apt-get -y remove \ apt-get -y remove \
git \ g++ \
python-pip && \ gcc \
git \
libffi-dev \
libjpeg-dev \
libxml2-dev \
libxslt1-dev \
python-pip \
zlib1g-dev && \
apt-get -y autoremove && \ apt-get -y autoremove && \
rm -rf \ rm -rf \
/tmp/* /tmp/*

View File

@ -11,8 +11,15 @@ RUN \
echo "**** install build packages ****" && \ echo "**** install build packages ****" && \
apt-get update && \ apt-get update && \
apt-get install -y \ apt-get install -y \
g++ \
gcc \
git \ git \
python-pip && \ libffi-dev \
libjpeg-dev \
libxml2-dev \
libxslt1-dev \
python-pip \
zlib1g-dev && \
echo "**** install runtime packages ****" && \ echo "**** install runtime packages ****" && \
apt-get install -y \ apt-get install -y \
imagemagick \ imagemagick \
@ -37,15 +44,18 @@ RUN \
optional-requirements.txt && \ optional-requirements.txt && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apt-get -y remove \ apt-get -y remove \
git \ g++ \
python-pip && \ gcc \
apt-get -y autoremove && \ git \
libffi-dev \
libjpeg-dev \
libxml2-dev \
libxslt1-dev \
python-pip \
zlib1g-dev && \
apt-get -y autoremove && \
rm -rf \ rm -rf \
/tmp/* /tmp/*
# add local files # add local files
COPY root/ / COPY root/ /
# ports and volumes
EXPOSE 8083
VOLUME /books /config