commit 3b48b8c30c2d6678400b16832f829c92db6e6483 Author: Shihaam Abdul Rahman Date: Tue Oct 3 19:15:48 2023 +0500 i hate the future diff --git a/64gram-desktop-bin-1_1.0.85-1-x86_64.pkg.tar.zst b/64gram-desktop-bin-1_1.0.85-1-x86_64.pkg.tar.zst new file mode 100644 index 0000000..74ee253 Binary files /dev/null and b/64gram-desktop-bin-1_1.0.85-1-x86_64.pkg.tar.zst differ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d1fb1e1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +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 -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 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..fa551e7 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: '3.5' +services: + 64gram: + build: . + hostname: 64gram + image: git.shihaam.dev/dockerfiles/64gram +