This commit is contained in:
Cabillot Julien 2018-01-16 14:34:14 +01:00
commit e6d1159d26
2 changed files with 26 additions and 0 deletions

22
Dockerfile Normal file
View File

@ -0,0 +1,22 @@
FROM "ubuntu:xenial"
MAINTAINER "Cabillot Julien <jcabillot@gmail.com>"
# Inspiré de https://github.com/joshbressers/docker-signal/blob/master/signal/Dockerfile
ENV DEBIAN_FRONTEND="noninteractive"
RUN apt-get update && \
apt-get install -qq -y gnupg apt-transport-https libasound2 curl && \
curl -s "https://updates.signal.org/desktop/apt/keys.asc" | apt-key add - && \
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" > "/etc/apt/sources.list.d/signal-xenial.list" && \
apt-get update && \
apt-get install -y signal-desktop && \
apt-get -qqy autoremove --purge && \
apt-get -qqy clean all && \
rm -rf "/usr/share/doc/*" \
"/var/cache/*" \
"/var/lib/apt/lists/*" \
"/usr/src/*" \
"/var/log/"{apt/*,dpkg.log} \
"/tmp/*"
CMD [ "signal-desktop" ]

4
README.md Normal file
View File

@ -0,0 +1,4 @@
Pour lancer le docker :
```bash
docker run --rm -v /tmp/.X11-unix/:/tmp/.X11-unix -v $(pwd)/data:/root -e DISPLAY -e XAUTHORITY -v $XAUTHORITY:$XAUTHORITY "registry.cabillot.eu/jcabillot/signal-desktop"
```