mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2026-02-14 00:58:26 +08:00
* rebase arch-xfce to new kasmvnc baseimage * swap to os for tagging * point readme to master screen blanking tweeks * update bin wrapper to pass cli options --------- Co-authored-by: ryan.kuba <ryan.kuba@kasmweb.com> Co-authored-by: thelamer <ryankuba@gmai.com>
41 lines
1.0 KiB
Docker
41 lines
1.0 KiB
Docker
FROM ghcr.io/linuxserver/baseimage-kasmvnc: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"
|
|
|
|
RUN \
|
|
echo "**** install packages ****" && \
|
|
pacman -Sy --noconfirm --needed \
|
|
chromium \
|
|
mousepad \
|
|
xfce4 \
|
|
xfce4-pulseaudio-plugin && \
|
|
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/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
|