docker-webtop/Dockerfile
Ryan Kuba 0de5fe02d3
rebase alpine-mate to new kasmvnc baseimage (#117)
* rebase alpine-mate to new kasmvnc baseimage

* update branch readmes to point to master

* add linux utils

* disable screen blanking file level

* update bin wrapper to pass cli options

---------

Co-authored-by: ryan.kuba <ryan.kuba@kasmweb.com>
Co-authored-by: thelamer <ryankuba@gmai.com>
2023-04-07 18:38:39 -07:00

40 lines
1.0 KiB
Docker

FROM ghcr.io/linuxserver/baseimage-kasmvnc:alpine317
# set version label
ARG BUILD_DATE
ARG VERSION
ARG MATE_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
RUN \
echo "**** install packages ****" && \
apk add --no-cache \
chromium \
mate-desktop-environment \
util-linux-misc && \
echo "**** application tweaks ****" && \
sed -i \
's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
/usr/share/applications/chromium.desktop && \
echo "**** mate tweaks ****" && \
sed -i \
'/compositing-manager/{n;s/.*/ <default>false<\/default>/}' \
/usr/share/glib-2.0/schemas/org.mate.marco.gschema.xml && \
glib-compile-schemas /usr/share/glib-2.0/schemas/ && \
rm -f \
/etc/xdg/autostart/mate-power-manager.desktop \
/etc/xdg/autostart/mate-screensaver.desktop && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/*
# add local files
COPY /root /
# ports and volumes
EXPOSE 3000
VOLUME /config