mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-08-15 06:38:32 +02:00
57 lines
1.4 KiB
Docker
57 lines
1.4 KiB
Docker
FROM ghcr.io/linuxserver/baseimage-selkies:el9
|
|
|
|
# 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="Enterprise Linux XFCE"
|
|
|
|
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 \
|
|
caja \
|
|
chromium \
|
|
mousepad \
|
|
xfce4-appfinder \
|
|
xfce4-datetime-plugin \
|
|
xfce4-panel \
|
|
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 && \
|
|
rm -f \
|
|
/etc/xdg/autostart/xscreensaver.desktop && \
|
|
sed -i 's/thunar/caja/g' /etc/xdg/xfce4/helpers.rc && \
|
|
echo "**** cleanup ****" && \
|
|
dnf autoremove -y && \
|
|
dnf clean all && \
|
|
rm -rf \
|
|
/config/.cache \
|
|
/etc/xdg/autostart/* \
|
|
/tmp/*
|
|
|
|
# add local files
|
|
COPY /root /
|
|
|
|
# ports and volumes
|
|
EXPOSE 3000
|
|
VOLUME /config
|