-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
23 lines (17 loc) · 853 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM debian
# Allow installing non-free packages
RUN mv /etc/apt/sources.list /etc/apt/sources.list.original && sed 's/main/main contrib non-free/g' /etc/apt/sources.list.original > /etc/apt/sources.list
RUN apt-get update && apt-get install -y curl xz-utils snap ffmpeg unrar php jq php-sqlite3 supervisor
COPY config/supervisor/* /etc/supervisor/conf.d/
# Install JDK
RUN curl -O https://raw.githubusercontent.com/rednoah/java-installer/latest/release/get-java.sh && \
sh get-java.sh install
# Install filebot
RUN mkdir -p /usr/filebot && \
cd /usr/filebot && \
curl https://raw.githubusercontent.com/filebot/plugins/master/installer/tar.sh -O && chmod a+x tar.sh && \
sed 's/sudo//g' tar.sh > tar2.sh && \
sed 's/--check/-c/g' tar2.sh > tar.sh && \
./tar.sh
ADD start.sh root/start.sh
CMD ["/bin/bash", "/root/start.sh"]