Some checks failed
External Trigger Scheduler / external-trigger-scheduler (push) Has been cancelled
46 lines
1.1 KiB
Docker
46 lines
1.1 KiB
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM ghcr.io/linuxserver/baseimage-selkies:arm64v8-debiantrixie
|
|
|
|
# set version label
|
|
ARG BUILD_DATE
|
|
ARG VERSION
|
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|
LABEL maintainer="thelamer"
|
|
|
|
# title
|
|
ENV TITLE=QMX-Fusion
|
|
ENV CHROME_CLI="--kiosk http://localhost:8081"
|
|
|
|
RUN \
|
|
echo "**** add icon ****" && \
|
|
curl -o \
|
|
/usr/share/selkies/www/icon.png \
|
|
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/chromium-logo.png && \
|
|
echo "**** install packages ****" && \
|
|
apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
chromium \
|
|
chromium-l10n \
|
|
git \
|
|
nginx && \
|
|
echo "**** clone web content ****" && \
|
|
git clone https://github.com/Sparks72/QMX-Fusion-v1 /var/www/fusion-v1 && \
|
|
chown -R abc:abc /var/www/fusion-v1 && \
|
|
rm -f /etc/nginx/sites-enabled/default && \
|
|
echo "**** cleanup ****" && \
|
|
apt-get autoclean && \
|
|
rm -rf \
|
|
/config/.cache \
|
|
/var/lib/apt/lists/* \
|
|
/var/tmp/* \
|
|
/tmp/*
|
|
|
|
# add local files
|
|
COPY /root /
|
|
|
|
# ports and volumes
|
|
EXPOSE 3000
|
|
|
|
VOLUME /config
|