Add setlX image

This commit is contained in:
Manuel 2021-05-12 07:43:41 +02:00
parent 26e49b3db5
commit 5858e89fab
Signed by: Manuel
GPG key ID: 4085037435E1F07A
3 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,17 @@
FROM openjdk:17-alpine
LABEL author="SunRed"
COPY setlX /usr/local/bin/
COPY run.sh /var/run/
RUN apk add --no-cache curl unzip bash && \
curl -O https://download.randoom.org/setlX/pc/setlX_v2-7-2.binary_only.zip && \
unzip -d setlx setlX_v2-7-2.binary_only.zip && \
rm -f setlX_v2-7-2.binary_only.zip && \
mkdir -p /usr/local/setlX && \
mv setlx/setlX*.jar /usr/local/setlX && \
mkdir -p /usr/local/setlXlibrary && \
mv setlx/setlXlibrary/* /usr/local/setlXlibrary && \
chmod +x /usr/local/bin/setlX && \
rm -rf setlx && \
apk del --no-cache curl unzip