-
Notifications
You must be signed in to change notification settings - Fork 18
/
Dockerfile.beta
34 lines (23 loc) · 1.06 KB
/
Dockerfile.beta
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM rednoah/filebot:xpra
LABEL maintainer="Reinhard Pointner <rednoah@filebot.net>"
# additional dependencies
RUN set -eux \
## ** install dependencies
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y imagemagick webp \
&& rm -rvf /var/lib/apt/lists/*
# build trigger and cache buster
ENV FILEBOT_REVISION r10348
ENV FILEBOT_VERSION 5.1.4
ENV FILEBOT_URL https://get.filebot.net/filebot/BETA/FileBot_${FILEBOT_VERSION}_universal.deb
RUN set -eux \
## ** uninstall stable release
&& DEBIAN_FRONTEND=noninteractive apt-get purge -y filebot \
&& rm -rv /usr/share/filebot \
## ** install latest revision
&& curl -o /tmp/filebot.deb "https://get.filebot.net/filebot/BETA/FileBot_${FILEBOT_VERSION}_universal.deb" \
&& dpkg -i /tmp/filebot.deb \
&& rm -v /tmp/filebot.deb \
## ** apply custom application configuration
&& sed -i 's|APP_DATA=.*|APP_DATA="$HOME"|g; s|-Dapplication.deployment=deb|-Dapplication.deployment=docker -Duser.home="$HOME"|g' /usr/bin/filebot
ENTRYPOINT ["/opt/bin/run-as-user", "/opt/bin/run", "/opt/filebot-xpra/start"]