mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-08-14 14:18:40 +02:00
44 lines
1004 B
Docker
44 lines
1004 B
Docker
FROM ghcr.io/linuxserver/baseimage-selkies:el9
|
|
|
|
# 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="Enterprise Linux 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 ****" && \
|
|
dnf install -y --setopt=install_weak_deps=False --best \
|
|
chromium \
|
|
dmenu \
|
|
i3 \
|
|
i3status \
|
|
st && \
|
|
echo "**** application tweaks ****" && \
|
|
mv \
|
|
/usr/bin/chromium-browser \
|
|
/usr/bin/chromium-real && \
|
|
ln -s \
|
|
/usr/bin/st-fedora \
|
|
/usr/bin/x-terminal-emulator && \
|
|
echo "**** cleanup ****" && \
|
|
dnf autoremove -y && \
|
|
dnf clean all && \
|
|
rm -rf \
|
|
/config/.cache \
|
|
/tmp/*
|
|
|
|
# add local files
|
|
COPY /root /
|
|
|
|
# ports and volumes
|
|
EXPOSE 3000
|
|
VOLUME /config
|