changed dockerfile so exo-open works

This commit is contained in:
Michael Trip 2023-05-31 18:49:40 +02:00
parent 37ccecbe4b
commit 977a29372a
2 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,6 @@ ARG VERSION
LABEL build_version="based on Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="Michael Trip"
COPY /root /
RUN \
echo "**** install packages ****" && \
rpm --import https://packages.microsoft.com/keys/microsoft.asc && \
@ -29,7 +28,7 @@ RUN \
sed -i \
's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \
/usr/share/applications/chromium-browser.desktop && \
cp /usr/bin/exo-open /usr/bin/exo-open-real && \
mv /usr/bin/exo-open /usr/bin/exo-open-real && \
echo "**** xfce tweaks ****" && \
rm -f \
/etc/xdg/autostart/xfce-polkit.desktop && \
@ -42,6 +41,8 @@ RUN \
# Remove this due to errors
RUN dnf -y remove xfce4-power-manager && rm -rf /etc/xdg/autostart/xfce-polkit.desktop && dnf clean all
COPY /root /
# add local files
# ports and volumes