Skip to content

Instantly share code, notes, and snippets.

@infoslack
Last active December 9, 2017 10:24
Show Gist options
  • Save infoslack/8060a6a92162509c969b to your computer and use it in GitHub Desktop.
Save infoslack/8060a6a92162509c969b to your computer and use it in GitHub Desktop.
Run Telegram in a container - docker build -t infoslack/telegram .
# 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" ]
@infoslack
Copy link
Author

Doesn't have the audio setting =(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment