i hate the future
This commit is contained in:
parent
6d51dc0acd
commit
ead580f5df
14
Dockerfile
14
Dockerfile
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user