-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (28 loc) · 823 Bytes
/
Dockerfile
File metadata and controls
33 lines (28 loc) · 823 Bytes
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
FROM ghcr.io/linuxserver/baseimage-selkies:debiantrixie
# title
ENV TITLE=Telegram
RUN \
echo "**** add icon ****" && \
curl -o \
/usr/share/selkies/www/icon.png \
"https://avatars.githubusercontent.com/u/6113871?s=48&v=4" && \
echo "**** download Telegram ****" && \
curl -L -o \
/tmp/tsetup.tar.xz \
https://github.com/telegramdesktop/tdesktop/releases/download/v6.1.3/tsetup.6.1.3.tar.xz && \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y --no-install-recommends xz-utils libgtk-3-0 && \
tar xf /tmp/tsetup.tar.xz -C /opt && \
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