forked from filebot/filebot-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.beta
25 lines (16 loc) · 866 Bytes
/
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
FROM rednoah/filebot:xpra
LABEL maintainer="Reinhard Pointner <[email protected]>"
# build trigger and cache buster
ENV FILEBOT_REVISION="r10448"
ENV FILEBOT_VERSION="5.1.6"
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 \
## ** 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"]