docker-mediaelch/Dockerfile
2025-09-23 14:31:22 -04:00

46 lines
1.2 KiB
Docker

# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-selkies:ubuntunoble
# set version label
ARG BUILD_DATE
ARG VERSION
ARG MEDIAELCH_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
# title
ENV TITLE=Mediaelch
RUN \
echo "**** add icon ****" && \
curl -o \
/usr/share/selkies/www/icon.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/mediaelch-logo.png && \
echo "**** install packages ****" && \
add-apt-repository ppa:mediaelch/mediaelch-stable && \
apt-get update && \
apt-get install -y --no-install-recommends \
libqt6multimedia6 \
libqt6sql6-sqlite \
libqt6svg6 \
"mediaelch${MEDIAELCH_VERSION:+=$MEDIAELCH_VERSION}" \
qt6-image-formats-plugins && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apt-get autoclean && \
rm -rf \
/config/.cache \
/config/.launchpadlib \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*
# add local files
COPY /root /
# ports and volumes
EXPOSE 3001
VOLUME /config