From 6d51dc0acd1b318fefe6afe626afd97a7c3971eb Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Tue, 3 Oct 2023 19:55:52 +0500 Subject: [PATCH] i hate the future --- Dockerfile | 5 ++++- docker-compose.yml | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d1fb1e1..cfa5bf4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,13 @@ RUN pacman -Sy \ libxkbcommon-x11 \ xcb-util \ --noconfirm +RUN pacman -Syu --noconfirm \ + && pacman -S xorg --noconfirm + RUN pacman -U 64gram-desktop-bin-1_1.0.85-1-x86_64.pkg.tar.zst --noconfirm # Set the DISPLAY environment variable ENV DISPLAY=host.docker.internal:0.0 -CMD telegram-desktop +CMD QT_DEBUG_PLUGINS=1 telegram-desktop diff --git a/docker-compose.yml b/docker-compose.yml index fa551e7..dd4d064 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,4 +4,5 @@ services: build: . hostname: 64gram image: git.shihaam.dev/dockerfiles/64gram - + environment: + - DISPLAY=$DISPLAY