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 build_version="based on Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="Michael Trip" LABEL maintainer="Michael Trip"
COPY /root /
RUN \ RUN \
echo "**** install packages ****" && \ echo "**** install packages ****" && \
rpm --import https://packages.microsoft.com/keys/microsoft.asc && \ rpm --import https://packages.microsoft.com/keys/microsoft.asc && \
@ -51,6 +50,7 @@ RUN \
# add local files # add local files
COPY /root /
# ports and volumes # ports and volumes
EXPOSE 3389 EXPOSE 3389

View file

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