update django, sync docker install

This commit is contained in:
j 2020-09-27 13:03:45 +02:00
parent 03e85c6eef
commit fdac35c00d
4 changed files with 19 additions and 2 deletions

View file

@ -30,6 +30,7 @@ apt-get update -qq
apt-get install -y \ apt-get install -y \
netcat-openbsd \ netcat-openbsd \
sudo \ sudo \
iproute2 \
vim \ vim \
wget \ wget \
pwgen \ pwgen \
@ -47,17 +48,20 @@ apt-get install -y \
python3-cssselect \ python3-cssselect \
python3-html5lib \ python3-html5lib \
python3-ox \ python3-ox \
python3-elasticsearch \
oxframe \ oxframe \
ffmpeg \ ffmpeg \
mkvtoolnix \ mkvtoolnix \
gpac \ gpac \
imagemagick \ imagemagick \
poppler-utils \ poppler-utils \
youtube-dl \
ipython3 \ ipython3 \
tesseract-ocr \
tesseract-ocr-eng \
postfix \ postfix \
postgresql-client postgresql-client
apt-get install -y --no-install-recommends youtube-dl rtmpdump
apt-get clean apt-get clean
rm -f /install.sh rm -f /install.sh

12
docker/publish.sh Normal file
View file

@ -0,0 +1,12 @@
#!/bin/bash
# push new version of pan.do/ra to docker hub
set -e
cd /tmp
git clone https://code.0x2620.org/0x2620/pandora
cd pandora
./docker/build.sh
docker push 0x2620/pandora-base:latest
docker push 0x2620/pandora-nginx:latest
docker push 0x2620/pandora:latest

View file

@ -1,4 +1,4 @@
Django==3.0.6 Django==3.0.10
simplejson simplejson
chardet chardet
celery>4.3.0 celery>4.3.0

View file

@ -89,6 +89,7 @@ apt-get install -y \
python3-pyinotify \ python3-pyinotify \
python3-simplejson \ python3-simplejson \
python3-lxml \ python3-lxml \
python3-cssselect \
python3-html5lib \ python3-html5lib \
python3-ox \ python3-ox \
python3-elasticsearch \ python3-elasticsearch \