mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-08-16 07:08:42 +02:00
58 lines
1.4 KiB
Docker
58 lines
1.4 KiB
Docker
FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbookworm
|
|
|
|
# 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="Debian XFCE"
|
|
|
|
RUN \
|
|
echo "**** add icon ****" && \
|
|
curl -o \
|
|
/kclient/public/icon.png \
|
|
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/webtop-logo.png && \
|
|
echo "**** install packages ****" && \
|
|
apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive \
|
|
apt-get install -y --no-install-recommends \
|
|
chromium \
|
|
chromium-l10n \
|
|
libxfce4ui-utils \
|
|
mousepad \
|
|
tango-icon-theme \
|
|
thunar \
|
|
xfce4-appfinder \
|
|
xfce4-panel \
|
|
xfce4-session \
|
|
xfce4-settings \
|
|
xfce4-taskmanager \
|
|
xfce4-terminal \
|
|
xfconf \
|
|
xfdesktop4 \
|
|
xfwm4 && \
|
|
echo "**** application tweaks ****" && \
|
|
sed -i \
|
|
's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
|
|
/usr/share/applications/chromium.desktop && \
|
|
mv /usr/bin/exo-open /usr/bin/exo-open-real && \
|
|
echo "**** xfce tweaks ****" && \
|
|
rm -f \
|
|
/etc/xdg/autostart/xscreensaver.desktop && \
|
|
echo "**** cleanup ****" && \
|
|
apt-get autoclean && \
|
|
rm -rf \
|
|
/config/.cache \
|
|
/var/lib/apt/lists/* \
|
|
/var/tmp/* \
|
|
/tmp/*
|
|
|
|
# add local files
|
|
COPY /root /
|
|
|
|
# ports and volumes
|
|
EXPOSE 3000
|
|
VOLUME /config
|