2022-08-30 13:48:25 +12:00
|
|
|
ARG BASE_IMAGE=m1k1o/neko:base
|
|
|
|
FROM $BASE_IMAGE
|
|
|
|
|
|
|
|
ARG SRC_URL="https://download.opera.com/download/get/?id=58545&location=415¬hanks=yes&sub=marine&utm_tryagain=yes"
|
|
|
|
|
|
|
|
ARG LIBFFMPEG_URL="https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/0.67.1/0.67.1-linux-x64.zip"
|
|
|
|
|
|
|
|
#
|
|
|
|
# install opera
|
|
|
|
RUN apt-get update
|
|
|
|
RUN wget -O /tmp/opera.deb $SRC_URL
|
|
|
|
RUN apt-get install -y --no-install-recommends openbox unzip /tmp/opera.deb
|
2022-09-07 12:43:33 +12:00
|
|
|
|
2022-08-30 13:48:25 +12:00
|
|
|
## install libffmpeg
|
|
|
|
RUN wget -O /tmp/libffmpeg.zip $LIBFFMPEG_URL
|
|
|
|
RUN unzip -o /tmp/libffmpeg.zip libffmpeg.so -d /usr/lib/x86_64-linux-gnu/opera/lib_extra
|
|
|
|
RUN echo '[]' > /usr/lib/x86_64-linux-gnu/opera/resources/ffmpeg_preload_config.json
|
|
|
|
#
|
|
|
|
# clean up
|
|
|
|
RUN apt-get clean -y
|
|
|
|
RUN rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
|
|
|
|
|
|
|
#
|
|
|
|
# copy configuation files
|
2022-09-08 12:02:36 +12:00
|
|
|
COPY supervisord.conf /etc/neko/supervisord/opera.conf
|
2022-08-30 13:48:25 +12:00
|
|
|
COPY openbox.xml /etc/neko/openbox.xml
|
2022-09-07 12:43:33 +12:00
|
|
|
|