Repository navigation
Expand file tree
/
Copy pathDockerfile
More file actions
69 lines (63 loc) · 1.89 KB
/
Copy pathDockerfile
File metadata and controls
69 lines (63 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-selkies:dev
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
ARG DEBIAN_FRONTEND="noninteractive"
# title
ENV TITLE="Pelorus" \
PIXELFLUX_WAYLAND=true \
SELKIES_DESKTOP=true \
PELORUS=true \
CUSTOM_PORT=8082 \
CUSTOM_HTTPS_PORT=0 \
SELKIES_ADDR=127.0.0.1
RUN \
echo "**** add icon ****" && \
curl -o \
/usr/share/selkies/www/icon.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/pelorus-logo.png && \
echo "**** setup chrome repo ****" && \
curl -fsSL \
https://dl.google.com/linux/linux_signing_key.pub \
| gpg --dearmor | tee /usr/share/keyrings/google-chrome.gpg >/dev/null && \
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" >> \
/etc/apt/sources.list.d/google-chrome.list && \
echo "**** install packages ****" && \
apt-get update && \
apt-get install --no-install-recommends -y \
7zip \
breeze-gtk-theme \
file-roller \
gnome-calculator \
gnome-console \
gnome-text-editor \
google-chrome-stable \
loupe \
nginx \
papers \
resources \
unrar \
xdg-user-dirs && \
echo "**** desktop tweaks ****" && \
mkdir -p \
/etc/xdg/selkies-desktop && \
echo 'wallpaper=/usr/share/wallpapers/Next' > \
/etc/xdg/selkies-desktop/config && \
sed -i \
's#^Exec=/usr/bin/google-chrome-stable#Exec=/usr/local/bin/wrapped-chrome#g' \
/usr/share/applications/google-chrome.desktop && \
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 3001
VOLUME /config