mirror of
https://github.com/linuxserver/docker-digikam.git
synced 2026-02-05 11:38:46 +08:00
36 lines
751 B
Docker
36 lines
751 B
Docker
FROM ghcr.io/linuxserver/baseimage-rdesktop-web:arch
|
|
|
|
# set version label
|
|
ARG BUILD_DATE
|
|
ARG VERSION
|
|
ARG DIGIKAM_VERSION
|
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|
LABEL maintainer="hackerman"
|
|
|
|
# title
|
|
ENV TITLE=DigiKam
|
|
|
|
RUN \
|
|
echo "**** install runtime packages ****" && \
|
|
pacman -Sy --noconfirm --needed \
|
|
digikam \
|
|
firefox \
|
|
mariadb \
|
|
perl-image-exiftool && \
|
|
echo "**** image tweaks ****" && \
|
|
ln -s \
|
|
/usr/bin/vendor_perl/exiftool \
|
|
/usr/bin/exiftool && \
|
|
dbus-uuidgen > /etc/machine-id && \
|
|
echo "**** cleanup ****" && \
|
|
rm -rf \
|
|
/tmp/* \
|
|
/var/cache/pacman/pkg/* \
|
|
/var/lib/pacman/sync/*
|
|
|
|
# add local files
|
|
COPY /root /
|
|
|
|
# ports and volumes
|
|
EXPOSE 3000
|