-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathDockerfile.beta
More file actions
33 lines (22 loc) · 1.12 KB
/
Dockerfile.beta
File metadata and controls
33 lines (22 loc) · 1.12 KB
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
FROM rednoah/filebot:xpra
LABEL maintainer="Reinhard Pointner <rednoah@filebot.net>"
# build trigger and cache buster
ENV FILEBOT_REVISION="r10940"
ENV FILEBOT_VERSION="5.2.1"
ENV FILEBOT_URL="https://get.filebot.net/filebot/BETA/FileBot_${FILEBOT_VERSION}_universal.deb"
RUN set -eux \
&& rm /etc/apt/sources.list.d/xpra.sources \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get remove -y openjdk-17-jre openjdk-17-jre-headless \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-21-jre \
&& rm -rvf /var/lib/apt/lists/*
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"]