docker-webtop/Dockerfile
2023-03-17 18:50:24 -07:00

43 lines
925 B
Docker

FROM ghcr.io/linuxserver/baseimage-kasmvnc:debianbullseye
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
RUN \
echo "**** install packages ****" && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
chromium \
i3 \
i3-wm \
stterm && \
echo "**** application tweaks ****" && \
mv \
/usr/bin/chromium \
/usr/bin/chromium-real && \
update-alternatives --set \
x-terminal-emulator \
/usr/bin/st && \
echo "**** i3 tweaks ****" && \
sed -i \
'/status_command/d' \
/etc/i3/config && \
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