i hate the future

This commit is contained in:
Shihaam Abdul Rahman 2023-10-03 21:19:39 +05:00
parent 6d51dc0acd
commit ead580f5df
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636
2 changed files with 7 additions and 13 deletions

View File

@ -3,19 +3,9 @@ FROM archlinux
WORKDIR /root
COPY 64gram-desktop-bin-1_1.0.85-1-x86_64.pkg.tar.zst .
# Install xorg-xhost for X11 forwarding and additional libraries for "xcb"
RUN pacman -Sy \
&& pacman -S xorg-xhost \
libxkbcommon-x11 \
xcb-util \
--noconfirm
RUN pacman -Syu --noconfirm \
&& pacman -S xorg --noconfirm
RUN pacman -Sy
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 QT_DEBUG_PLUGINS=1 telegram-desktop
CMD telegram-desktop

View File

@ -5,4 +5,8 @@ services:
hostname: 64gram
image: git.shihaam.dev/dockerfiles/64gram
environment:
- DISPLAY=$DISPLAY
- DISPLAY
volumes:
- $HOME/.local/share/64Gram:/root/.local/share/64Gram
- $HOME/.local/share/fonts:/root/.local/share/fonts
- /tmp/.X11-unix:/tmp/.X11-unix