Skip to content

Commit

Permalink
Update xpra build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rednoah committed Jul 19, 2023
1 parent bfe6b96 commit 0d23bc6
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions Dockerfile.xpra
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ LABEL maintainer="Reinhard Pointner <rednoah@filebot.net>"

RUN set -eux \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates software-properties-common \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y apt-transport-https software-properties-common \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates \
&& add-apt-repository universe \
&& curl -o "/usr/share/keyrings/xpra-2022.gpg" https://xpra.org/xpra-2022.gpg \
&& curl -o "/etc/apt/sources.list.d/xpra.list" "https://xpra.org/repos/jammy/xpra.list" \
&& curl -o /usr/share/keyrings/xpra.asc https://xpra.org/xpra.asc \
&& curl -o /etc/apt/sources.list.d/xpra.sources https://xpra.org/repos/jammy/xpra.sources \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y xpra openjdk-17-jre zenity xdg-utils \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y xpra openjdk-17-jre zenity xdg-utils nautilus gedit trash-cli \
## ** fix xdg-open behaviour
&& rm -rvf /usr/share/applications/* \
&& rm -rvf /usr/share/file-manager/actions/* \
Expand All @@ -23,12 +24,8 @@ RUN set -eux \
&& mkdir /run/xpra \
&& chmod 775 /run/xpra \
&& mkdir /etc/xdg/menus \
&& echo "<Menu/>" > /etc/xdg/menus/kde-debian-menu.menu

RUN set -eux \
&& apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y nautilus gedit trash-cli \
&& rm -rvf /var/lib/apt/lists/*
&& echo "<Menu/>" > /etc/xdg/menus/kde-debian-menu.menu \
&& echo "<Menu/>" > /etc/xdg/menus/debian-menu.menu


# install custom launcher scripts
Expand Down

0 comments on commit 0d23bc6

Please sign in to comment.