mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-08-14 06:08:38 +02:00
53 lines
1.3 KiB
Docker
53 lines
1.3 KiB
Docker
FROM ghcr.io/linuxserver/baseimage-selkies:arch
|
|
|
|
# set version label
|
|
ARG BUILD_DATE
|
|
ARG VERSION
|
|
ARG XFCE_VERSION
|
|
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
|
|
LABEL maintainer="thelamer"
|
|
|
|
# title
|
|
ENV TITLE="Arch 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 ****" && \
|
|
pacman -Sy --noconfirm --needed \
|
|
chromium \
|
|
mousepad \
|
|
xfce4 \
|
|
xfce4-pulseaudio-plugin && \
|
|
echo "**** xfce 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 && \
|
|
mv \
|
|
/usr/bin/thunar \
|
|
/usr/bin/thunar-real && \
|
|
rm -f \
|
|
/etc/xdg/autostart/xfce4-power-manager.desktop \
|
|
/etc/xdg/autostart/xfce-polkit.desktop \
|
|
/etc/xdg/autostart/xscreensaver.desktop \
|
|
/usr/share/xfce4/panel/plugins/power-manager-plugin.desktop && \
|
|
echo "**** cleanup ****" && \
|
|
rm -rf \
|
|
/config/.cache \
|
|
/tmp/* \
|
|
/var/cache/pacman/pkg/* \
|
|
/var/lib/pacman/sync/*
|
|
|
|
# add local files
|
|
COPY /root /
|
|
|
|
# ports and volumes
|
|
EXPOSE 3000
|
|
VOLUME /config
|