Remove a few Pandora hackfixes as they're fixed in upstream now

This commit is contained in:
Disassembler 2018-01-24 16:48:20 +01:00
parent 7ceeec43c9
commit 29b7e6a7a8
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499

View File

@ -12,12 +12,12 @@ RUN \
RUN \ RUN \
# Install runtime dependencies # Install runtime dependencies
apk --no-cache add ffmpeg freetype imagemagick imlib2 libogg libjpeg-turbo libtheora libvpx mkvtoolnix nginx poppler-utils py3-psycopg2 py3-numpy py3-geoip py3-lxml s6 zlib \ apk --no-cache add ffmpeg imagemagick imlib2 libogg libtheora libvpx mkvtoolnix nginx poppler-utils py3-geoip py3-lxml py3-numpy py3-pillow py3-psycopg2 s6 \
&& pip3 install pyinotify youtube-dl && pip3 install pyinotify youtube-dl
RUN \ RUN \
# Install build dependencies # Install build dependencies
apk --no-cache add --virtual .deps autoconf automake build-base flac-dev freetype-dev git imlib2-dev libjpeg-turbo-dev libogg-dev libtheora-dev libtool libvpx-dev libvorbis-dev python3-dev zlib-dev \ apk --no-cache add --virtual .deps autoconf automake build-base flac-dev git imlib2-dev libogg-dev libtheora-dev libtool libvpx-dev libvorbis-dev python3-dev \
# Compile liboggz # Compile liboggz
&& wget https://ftp.osuosl.org/pub/xiph/releases/liboggz/liboggz-1.1.1.tar.gz -O /tmp/liboggz.tgz \ && wget https://ftp.osuosl.org/pub/xiph/releases/liboggz/liboggz-1.1.1.tar.gz -O /tmp/liboggz.tgz \
&& tar xf /tmp/liboggz.tgz -C /tmp \ && tar xf /tmp/liboggz.tgz -C /tmp \
@ -53,9 +53,6 @@ RUN \
&& pip3 install -e /srv/pandora/src/python-ox \ && pip3 install -e /srv/pandora/src/python-ox \
&& pip3 install -e /srv/pandora/src/oxtimelines \ && pip3 install -e /srv/pandora/src/oxtimelines \
&& pip3 install -r /srv/pandora/requirements.txt \ && pip3 install -r /srv/pandora/requirements.txt \
&& pip3 install "pillow<4.2.0" \
# Hackfix get_version() for oxjs
&& sed -i 's/version = get_version()/version = "unknown"/' /srv/pandora/static/oxjs/tools/build/build.py \
# Compile pyc and static files # Compile pyc and static files
&& cd /srv/pandora/pandora \ && cd /srv/pandora/pandora \
&& ln -s config.pandora.jsonc config.jsonc \ && ln -s config.pandora.jsonc config.jsonc \