-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (21 loc) · 1.1 KB
/
Dockerfile
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
FROM jlesage/baseimage-gui:debian-11
WORKDIR /tmp
RUN apt update && apt install wget gpg xterm libgbm-dev -y
# install signal
RUN \
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg && \
cat signal-desktop-keyring.gpg | tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null && \
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' | tee -a /etc/apt/sources.list.d/signal-xenial.list && \
apt update && apt install signal-desktop -y
COPY startapp.sh /startapp.sh
ENV APP_NAME="Signal"
RUN \
APP_ICON_URL=https://raw.githubusercontent.com/leon1995/signal-web-client/main/images/signal_favicon.png && \
install_app_icon.sh "$APP_ICON_URL"
VOLUME ["/config"]
LABEL \
org.label-schema.name="Singal" \
org.label-schema.description="Docker container for Signal" \
org.label-schema.version="$DOCKER_IMAGE_VERSION" \
org.label-schema.vcs-url="https://github.com/leon1995/signal-web-client" \
org.label-schema.schema-version="1.0"