Link xdg-open to host in order to be able to open links etc.

This commit is contained in:
Anders Rytter Hansen 2023-11-15 14:25:05 +01:00
commit 8ce0f8e89f
3 changed files with 11 additions and 0 deletions

View file

@ -26,6 +26,9 @@ RUN pacman -Sy --noconfirm qt6-webengine
# Add Bitwarden dependencies
RUN pacman -Sy --noconfirm electron25 c-ares jsoncpp libnss_nis woff2
# Link xdg-open to host in order to be able to open links etc.
RUN rm -f /usr/bin/xdg-open && ln -s /usr/bin/distrobox-host-exec /usr/bin/xdg-open
# Add Chaotic-AUR
RUN pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com && \
pacman-key --lsign-key 3056513887B78AEB && \

View file

@ -20,3 +20,6 @@ RUN dnf install -y dbus-glib pciutils-libs
RUN dnf -y install fuse
RUN dnf install -y firefox
RUN dnf install -y qt5-qtwayland qt6-qtwayland
# Link xdg-open to host in order to be able to open links etc.
RUN rm -f /usr/bin/xdg-open && ln -s /usr/bin/distrobox-host-exec /usr/bin/xdg-open

View file

@ -5,4 +5,9 @@ RUN apt install -y fish htop nano firejail bash apt-utils bc curl dialog diffuti
RUN apt install -y gconf2 gconf-service libnotify4 libappindicator1 libnss3 libsecret-1-dev gnome-keyring
RUN apt install -y libasound2 libgles2
# Link xdg-open to host in order to be able to open links etc.
RUN rm -f /usr/bin/xdg-open && ln -s /usr/bin/distrobox-host-exec /usr/bin/xdg-open
RUN apt clean