Shaun Setlock shaun
  • Joined on 2021-08-15

magicmirror-setlock (devel-v2.34.0-0)

Published 2026-01-08 20:35:37 -05:00 by shaun

Installation

docker pull gitea.setlock.net/shaun/magicmirror-setlock:devel-v2.34.0-0
sha256:6ff415a476f5e1533eda0652fa12845ea9afeb2aaf7f0d31d32352a9946ae888

Images

Digest OS / Arch Size
eab03e646e linux/amd64 435 MiB

Image Layers ( linux/amd64)

add root layout
mount /out from exec sh -c /install amd64
build locale
add users and groups
apply fs for artifact dhi/pkg-expat:2.7.3-debian13@sha256:bf522255414eb53b8992e36dc64fde670d477c0b3be62c84209c4409de35e324
apply fs for artifact dhi/pkg-node:24.12.0-debian13@sha256:a47d8747770003fbc65c6d5eaec1bd7abeab46f5ed2a55cf8323df0ec5de6f44
mkdir /app
merge status
add metadata
LABEL maintainer=Karsten Hassel
USER root
ENV MM_DIR=/opt/magic_mirror
WORKDIR /opt/magic_mirror
COPY --chown=node:node --chmod=0777 create_restore_script.sh entrypoint.sh health.sh /opt/magic_mirror/ # buildkit
COPY --chown=node:node --chmod=0777 build_info.sh /tmp/ # buildkit
COPY --chown=node:node --chmod=0777 /opt/magic_mirror /opt/magic_mirror # buildkit
SHELL [/bin/bash -c]
ARG GIT_INFO=commit=b37f9313_ref=master_date=2026-01-04T00:26:06+01:00_author=Karsten_Hassel_<hassel@gmx.de>_title=vale_setup_and_remove_spelling_errors NODE_ENV=production SLIM=-slim FAT=_default CI_PROJECT_ID=10637719 TARGETARCH=amd64
RUN |6 GIT_INFO=commit=b37f9313_ref=master_date=2026-01-04T00:26:06+01:00_author=Karsten_Hassel_<hassel@gmx.de>_title=vale_setup_and_remove_spelling_errors NODE_ENV=production SLIM=-slim FAT=_default CI_PROJECT_ID=10637719 TARGETARCH=amd64 /bin/bash -c set -e source /etc/os-release apt-get update _pck="git ncurses-term nano openssl ca-certificates wget tini gnupg" DEBIAN_FRONTEND=noninteractive apt-get -qy --no-install-recommends install ${_pck} if [[ "${TARGETARCH}" == "amd64" && "${FAT}" == "_default" ]]; then echo "no installation of additional packages" else _pck="${_pck} libgtk-3-0 libx11-xcb-dev libnss3-dev libxss1 libxtst6 libasound2 libdrm2 libgbm1 libxshmfence1 fonts-arphic-uming \ procps arp-scan" if [[ -z "${SLIM}" ]]; then _pck="${_pck} python3" fi if [[ "${TARGETARCH}" != "amd64" ]]; then # install pi stuff _pck="${_pck} libgl1-mesa-dri libglapi-mesa libsensors5 libdrm-radeon1 libelf1 libdrm-amdgpu1 \ libdrm-nouveau2 x11-xserver-utils libgpiod-dev gpiod wlr-randr cec-utils libegl-mesa0 libegl1 libgl1 libgles2 \ libglvnd0 libglx-mesa0 libglx0 libxcb-glx0 mesa-utils mesa-utils-bin" if [[ "${VERSION_CODENAME}" == "bookworm" ]]; then _pck="${_pck} libraspberrypi-bin libllvm14 libegl1-mesa libgles2-mesa libwayland-egl1-mesa" wget https://archive.raspbian.org/raspbian.public.key -O - | gpg --dearmor -o /usr/share/keyrings/archive-raspian-keyring.gpg echo 'deb [signed-by=/usr/share/keyrings/archive-raspian-keyring.gpg] http://raspbian.raspberrypi.org/raspbian/ bookworm main contrib non-free rpi' | tee -a /etc/apt/sources.list wget -O - http://archive.raspberrypi.org/debian/raspberrypi.gpg.key | gpg --dearmor -o /usr/share/keyrings/archive-raspberrypi-keyring.gpg echo 'deb [signed-by=/usr/share/keyrings/archive-raspberrypi-keyring.gpg] http://archive.raspberrypi.org/debian/ bookworm main ui' | tee -a /etc/apt/sources.list.d/raspi.list apt-get update else # trixie _pck="${_pck} libllvm19 libegl1-mesa-dev libgles2-mesa-dev libwayland-egl1" fi if [[ -z "${SLIM}" ]]; then DEBIAN_FRONTEND=noninteractive apt-get -qy remove libexpat1 _pck="${_pck} python3-dev python3-pip build-essential" fi fi fi if [[ "${NODE_ENV}" == "test" ]]; then _pck="${_pck} labwc libfaketime" fi DEBIAN_FRONTEND=noninteractive apt-get -qy --no-install-recommends install ${_pck} DEBIAN_FRONTEND=noninteractive apt-get -qy remove gnupg if [[ -z "${SLIM}" && "${TARGETARCH}" != "amd64" ]]; then # need newest version for arm32 so using pip python3 -m pip install RPi.GPIO --no-cache-dir --break-system-packages DEBIAN_FRONTEND=noninteractive apt-get -qy remove python3-dev python3-pip fi DEBIAN_FRONTEND=noninteractive apt-get -qy autoremove apt-get clean rm -rf /var/lib/apt/lists/* if [[ "${VERSION_CODENAME}" == "bookworm" ]]; then chmod u+rwx,g+rwx,o+rwx /etc chmod u+rw,g+rw,o+rw /etc/localtime /etc/timezone fi echo "#!/bin/bash" > /usr/local/bin/sudo echo 'exec "$@"' >> /usr/local/bin/sudo chmod +x *.sh /usr/local/bin/sudo # different group bookworm vs trixie groupadd -g 105 renderb groupadd -g 992 rendert groupadd -g 993 gpiob groupadd -g 986 gpiot if ! cat /etc/group | grep -q video:; then groupadd -g 44 video fi usermod -a -G gpiob,gpiot,video,renderb,rendert node /tmp/build_info.sh "Runtime" "$GIT_INFO" rm -f /tmp/build_info.sh chown -R node:node $MM_DIR # buildkit
USER node
ARG NODE_ENV=production
ENV ELECTRON_DISABLE_SANDBOX=1 DBUS_SESSION_BUS_ADDRESS=unix:path=/var/run/dbus/system_bus_socket NODE_ENV=production MM_OVERRIDE_DEFAULT_MODULES=true
RUN |6 GIT_INFO=commit=b37f9313_ref=master_date=2026-01-04T00:26:06+01:00_author=Karsten_Hassel_<hassel@gmx.de>_title=vale_setup_and_remove_spelling_errors NODE_ENV=production SLIM=-slim FAT=_default CI_PROJECT_ID=10637719 TARGETARCH=amd64 /bin/bash -c if [[ "${NODE_ENV}" == "test" ]]; then echo "installing chromium stuff needed by playwright" npx playwright install chromium fi # buildkit
EXPOSE [8080/tcp]
HEALTHCHECK &{["CMD-SHELL" "./health.sh"] "0s" "10s" "1m0s" "0s" '\x00'}
ENTRYPOINT ["/usr/bin/tini" "--" "./entrypoint.sh"]
LABEL maintainer=Shaun Setlock description=MagicMirror with my config.
WORKDIR /opt/magic_mirror/modules
RUN /bin/bash -c git clone https://github.com/MMRIZE/MMM-CalendarExt3 # buildkit
WORKDIR /opt/magic_mirror/modules/MMM-CalendarExt3
RUN /bin/bash -c npm ci # buildkit
RUN /bin/bash -c git submodule update --init --recursive # buildkit
WORKDIR /opt/magic_mirror/modules
RUN /bin/bash -c git clone https://github.com/darickc/MMM-BackgroundSlideshow # buildkit
WORKDIR /opt/magic_mirror/modules/MMM-BackgroundSlideshow
RUN /bin/bash -c npm install # buildkit
WORKDIR /opt/magic_mirror/config
RUN /bin/bash -c git clone https://www.gitea.setlock.net/shaun/wall.git # buildkit
COPY --chown=node:node --chmod=0777 config/config.js.template /opt/magic_mirror/config/config.js.template # buildkit
COPY --chown=node:node --chmod=0777 config/config.env /opt/magic_mirror/config/config.env # buildkit
COPY --chown=node:node --chmod=0777 css/custom.css /opt/magic_mirror/css/custom.css # buildkit
WORKDIR /opt/magic_mirror

Labels

Key Value
com.docker.dhi.chain-id sha256:1f2012ef4ca0f656027b1e732874d6d95391071ada9ca0535c831c1ae5de5991
com.docker.dhi.compliance cis
com.docker.dhi.created 2025-12-16T10:49:47Z
com.docker.dhi.date.end-of-life 2028-04-30
com.docker.dhi.date.release 2025-05-06
com.docker.dhi.definition image/node/debian/24-dev
com.docker.dhi.distro debian-13
com.docker.dhi.flavor
com.docker.dhi.name dhi/node
com.docker.dhi.package-manager apt
com.docker.dhi.shell bash
com.docker.dhi.title Node.js 24.x (dev)
com.docker.dhi.url https://dhi.docker.com/catalog/node
com.docker.dhi.variant dev
com.docker.dhi.version 24.12.0-debian13-dev
description MagicMirror with my config.
maintainer Shaun Setlock
Details
Container
2026-01-08 20:35:37 -05:00
0
OCI / Docker
Versions (7) View all
nightly 2026-01-16
master-v2.33.0-4 2026-01-09
latest 2026-01-09
master-v2.34.0-0 2026-01-08
devel-v2.34.0-0 2026-01-08