docker-webtop/Dockerfile

65 lines
1.5 KiB
Docker

FROM ghcr.io/linuxserver/baseimage-selkies:fedora42
# 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="Fedora XFCE" \
NO_GAMEPAD="true"
RUN \
echo "**** add icon ****" && \
curl -o \
/usr/share/selkies/www/icon.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
echo "**** install packages ****" && \
dnf install -y --setopt=install_weak_deps=False --best \
chromium \
desktop-backgrounds-compat \
dex-autostart \
greybird-dark-theme \
greybird-xfwm4-theme \
gtk-xfce-engine \
mousepad \
Thunar \
xfce4-appfinder \
xfce4-datetime-plugin \
xfce4-panel \
xfce4-places-plugin \
xfce4-pulseaudio-plugin \
xfce4-session \
xfce4-settings \
xfce4-terminal \
xfconf \
xfdesktop \
xfwm4 \
xfwm4-themes && \
echo "**** xfce tweaks ****" && \
sed -i \
's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
/usr/share/applications/chromium-browser.desktop && \
mv \
/usr/bin/exo-open \
/usr/bin/exo-open-real && \
mv \
/usr/bin/thunar \
/usr/bin/thunar-real && \
rm -f \
/etc/xdg/autostart/xscreensaver.desktop && \
echo "**** cleanup ****" && \
dnf autoremove -y && \
dnf clean all && \
rm -rf \
/config/.cache \
/tmp/*
# add local files
COPY /root /
# ports and volumes
EXPOSE 3000
VOLUME /config