mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-07-08 22:34:56 +02:00
53 lines
1.3 KiB
Docker
53 lines
1.3 KiB
Docker
FROM ghcr.io/linuxserver/baseimage-selkies:ubuntunoble
|
|
|
|
# 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="Ubuntu i3"
|
|
|
|
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 ****" && \
|
|
apt-key adv \
|
|
--keyserver hkp://keyserver.ubuntu.com:80 \
|
|
--recv-keys 5301FA4FD93244FBC6F6149982BB6851C64F6880 && \
|
|
echo \
|
|
"deb https://ppa.launchpadcontent.net/xtradeb/apps/ubuntu noble main" > \
|
|
/etc/apt/sources.list.d/xtradeb.list && \
|
|
apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive \
|
|
apt-get install -y --no-install-recommends \
|
|
chromium \
|
|
i3 \
|
|
i3-wm \
|
|
stterm && \
|
|
echo "**** application tweaks ****" && \
|
|
update-alternatives --set \
|
|
x-terminal-emulator \
|
|
/usr/bin/st && \
|
|
mv \
|
|
/usr/bin/chromium \
|
|
/usr/bin/chromium-browser && \
|
|
echo "**** cleanup ****" && \
|
|
apt-get autoclean && \
|
|
rm -rf \
|
|
/config/.cache \
|
|
/config/.launchpadlib \
|
|
/var/lib/apt/lists/* \
|
|
/var/tmp/* \
|
|
/tmp/*
|
|
|
|
# add local files
|
|
COPY /root /
|
|
|
|
# ports and volumes
|
|
EXPOSE 3000
|
|
VOLUME /config
|