Last active
December 9, 2017 10:24
-
-
Save infoslack/8060a6a92162509c969b to your computer and use it in GitHub Desktop.
Run Telegram in a container - docker build -t infoslack/telegram .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run container | |
# | |
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ | |
# -v $(pwd)/.telegram:/root/Downloads/Telegram \ | |
# -e DISPLAY=unix$DISPLAY \ | |
# infoslack/telegram | |
# | |
FROM ubuntu:14.04 | |
MAINTAINER Daniel Romero <infoslack@gmail.com> | |
RUN apt-get update && apt-get install -y \ | |
python-software-properties \ | |
software-properties-common | |
RUN add-apt-repository ppa:atareao/telegram && \ | |
apt-get update && apt-get install -y \ | |
telegram \ | |
libx11-6 \ | |
libx11-xcb1 \ | |
gconf-service && \ | |
rm -rf /var/lib/apt/lists/* | |
VOLUME [ "/root/Downloads/Telegram" ] | |
ENTRYPOINT [ "/opt/telegram/Telegram", "-noupdate" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doesn't have the audio setting =(