1
0
Fork 0
mirror of https://github.com/imtbl/hydrus-server-docker synced 2024-05-06 05:33:32 +12:00

feat: Update base image to Debian Buster

This commit is contained in:
Michael Serajnik 2019-07-28 14:48:26 +02:00
parent bdd384a712
commit 4aaee2bb50
No known key found for this signature in database
GPG key ID: B390A5CBA3ECB74D
4 changed files with 21 additions and 14 deletions

View file

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed ### Changed
+ Updated hydrus server version + Updated hydrus server version
+ Updated base image to Debian Buster
## [3.6.0] - 2019-07-05 ## [3.6.0] - 2019-07-05

View file

@ -1,4 +1,4 @@
FROM python:3.7-slim-stretch FROM python:3.7-slim-buster
ARG HOST_USER_ID=1000 ARG HOST_USER_ID=1000
ARG HOST_GROUP_ID=1000 ARG HOST_GROUP_ID=1000
@ -21,37 +21,43 @@ COPY ./deb .
RUN \ RUN \
chown -R hydrus:hydrus /usr/src/app && \ chown -R hydrus:hydrus /usr/src/app && \
chmod +x server.py && \ chmod +x \
chmod +x bin/swfrender_linux bin/upnpc_linux && \ server.py \
bin/swfrender_linux \
bin/upnpc_linux && \
rm \ rm \
bin/swfrender_osx \ bin/swfrender_osx \
bin/swfrender_win32.exe \ bin/swfrender_win32.exe \
bin/upnpc_osx \ bin/upnpc_osx \
bin/upnpc_win32.exe && \ bin/upnpc_win32.exe && \
mkdir /data && chown -R hydrus:hydrus /data && \ mkdir /data && \
chown -R hydrus:hydrus /data && \
apt-get update && apt-get install -y \ apt-get update && apt-get install -y \
build-essential \ build-essential \
ffmpeg \ ffmpeg \
multiarch-support \
wget && \ wget && \
dpkg -i libjpeg8_8d-1+deb7u1_amd64.deb && \ dpkg -i libjpeg8_8d-2_amd64.deb && \
rm libjpeg8_8d-1+deb7u1_amd64.deb && \ rm libjpeg8_8d-2_amd64.deb && \
pip install --upgrade pip && \
pip install virtualenv && \ pip install virtualenv && \
virtualenv venv && \ virtualenv venv && \
. venv/bin/activate && \ . venv/bin/activate && \
pip install \ pip install \
beautifulsoup4~=4.7.1 \ beautifulsoup4~=4.8.0 \
chardet~=3.0.4 \
lz4~=2.1.10 \ lz4~=2.1.10 \
numpy~=1.16.4 \ numpy~=1.17.0 \
pillow~=5.4.1 \ pillow~=6.1.0 \
psutil~=5.4.8 \ psutil~=5.6.3 \
pylzma~=0.5.0 \ pylzma~=0.5.0 \
pyopenssl~=18.0.0 \ pyopenssl~=19.0.0 \
pyyaml~=3.13 \ pyyaml~=5.1.1 \
opencv-python-headless~=4.1.0.25 \ opencv-python-headless~=4.1.0.25 \
requests~=2.21.0 \ requests~=2.22.0 \
send2trash~=1.5.0 \ send2trash~=1.5.0 \
service_identity~=18.1.0 \ service_identity~=18.1.0 \
twisted~=18.9.0 && \ twisted~=19.2.1 && \
rm -r ~/.cache && \ rm -r ~/.cache && \
apt-get clean && apt-get autoclean && apt-get autoremove --purge -y && \ apt-get clean && apt-get autoclean && apt-get autoremove --purge -y && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

Binary file not shown.

BIN
deb/libjpeg8_8d-2_amd64.deb Normal file

Binary file not shown.