22 lines
559 B
Docker
22 lines
559 B
Docker
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 -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
|