This repository has been archived by the owner on Jul 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile
69 lines (65 loc) · 1.85 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
FROM lsiobase/ubuntu:focal
LABEL maintainer="RandomNinjaAtk"
ENV TITLE="raromprocessor"
ENV VERSION="0.0.010"
ENV SKYSCRAPER_PATH /usr/local/skysource
ENV RAHASHER_PATH /usr/local/RALibretro
ENV ScriptInterval=1h
ENV DeDupe=false
ENV AquireRomSets=false
ENV ConcurrentDownloadThreads=1
ENV ScrapeMetadata=false
ENV EnableUnsupportedPlatforms=true
ENV skyscraperLanguagePreference=en
ENV keepBackupsOfImportedRoms=true
RUN \
echo "************ install dependencies ************" && \
echo "************ install and upgrade packages ************" && \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
jq \
unzip \
gzip \
git \
p7zip-full \
curl \
make \
gcc \
unrar \
axel \
zip \
mame-tools \
mingw-w64 \
gcc-multilib \
g++-multilib \
python3-pip && \
echo "************ install python packages ************" && \
python3 -m pip install --no-cache-dir -U \
yq \
internetarchive && \
echo "************ skyscraper ************" && \
echo "************ install dependencies ************" && \
echo "************ install packages ************" && \
apt-get update && \
apt-get install -y \
build-essential \
wget \
qt5-default && \
apt-get purge --auto-remove -y && \
apt-get clean && \
echo "************ install skyscraper ************" && \
mkdir -p ${SKYSCRAPER_PATH} && \
cd ${SKYSCRAPER_PATH} && \
wget https://raw.githubusercontent.com/muldjord/skyscraper/master/update_skyscraper.sh && \
sed -i 's/sudo //g' update_skyscraper.sh && \
bash update_skyscraper.sh && \
echo "************ RAHasher installation ************" && \
git clone --recursive --depth 1 https://github.com/RetroAchievements/RALibretro.git ${RAHASHER_PATH} && \
cd ${RAHASHER_PATH} && \
make HAVE_CHD=1 -f Makefile.RAHasher && \
chmod -R 777 ${RAHASHER_PATH}
# copy local files
COPY root/ /
# set work directory
WORKDIR /config