forked from Banh-Canh/docker-FMD2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (23 loc) · 860 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
24
25
26
27
28
29
FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm
ARG FMD2_VERSION="2.0.32.0"
LABEL \
maintainer="[email protected]"
ENV \
WINEDLLOVERRIDES="mscoree,mshtml=" \
HOME=/config
RUN \
apt update && \
apt install -y dpkg && \
dpkg --add-architecture i386 && \
apt install -y wine64=8.0~repack-4 wget p7zip-full curl git python3-pyxdg inotify-tools rsync &&\
curl -s https://api.github.com/repos/dazedcat19/FMD2/releases/tags/${FMD2_VERSION} | grep "browser_download_url.*download.*fmd.*x86_64.*.7z" | cut -d : -f 2,3 | tr -d '"' | wget -qi - -O FMD2.7z && \
7z x FMD2.7z -o/app/FMD2 && \
rm FMD2.7z && \
apt autoremove -y p7zip-full wget curl --purge && \
mkdir /downloads && \
mkdir -p /app/FMD2/userdata && \
mkdir -p /app/FMD2/downloads
# Copy my settings preset
COPY settings.json root /
VOLUME /config
EXPOSE 3000