docker-webtop/Dockerfile

49 lines
1.1 KiB
Docker

FROM ghcr.io/linuxserver/baseimage-selkies:arch
# 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="Arch i3" \
SELKIES_WAYLAND_SOCKET_INDEX=2
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 ****" && \
pacman -Sy --noconfirm --needed \
chromium \
i3-wm \
i3status \
sway \
swaybg \
xfce4-terminal && \
echo "**** application tweaks ****" && \
mv \
/usr/bin/chromium \
/usr/bin/chromium-real && \
ln -s \
/usr/sbin/xfce4-terminal \
/usr/bin/x-terminal-emulator && \
setcap -r \
/usr/bin/sway && \
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