From 407e64c6e28ca24023d469f378c69769f442384e Mon Sep 17 00:00:00 2001 From: vajonam <152501+vajonam@users.noreply.github.com> Date: Wed, 3 Apr 2024 11:36:06 -0400 Subject: [PATCH] fix: clean up layers add exec on get_ Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com> --- Dockerfile | 16 ++++++++-------- get_latest_prusaslicer_release.sh | 0 2 files changed, 8 insertions(+), 8 deletions(-) mode change 100644 => 100755 get_latest_prusaslicer_release.sh diff --git a/Dockerfile b/Dockerfile index a9644d9..9c50138 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,18 +64,18 @@ RUN chmod +x /slic3r/get_latest_prusaslicer_release.sh \ && echo "file:///prints prints" >> /home/slic3r/.gtk-bookmarks -# Generate key for novnc -RUN openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/novnc.pem -out /etc/novnc.pem -days 365 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=localhost" +# Generate key for novnc and cleanup erros +RUN openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/novnc.pem -out /etc/novnc.pem -days 365 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=localhost" \ + && rm /etc/xdg/autostart/lxpolkit.desktop \ + && mv /usr/bin/lxpolkit /usr/bin/lxpolkit.ORIG ENV PATH ${PATH}:/opt/VirtualGL/bin:/opt/TurboVNC/bin -COPY entrypoint.sh /entrypoint.sh -COPY menu.xml /etc/xdg/openbox/ -COPY supervisord.conf /etc/ +ADD entrypoint.sh /entrypoint.sh +ADD menu.xml /etc/xdg/openbox/ +ADD supervisord.conf /etc/ + -# get rid of errors https://github.com/meefik/linuxdeploy/issues/978#issuecomment-541551743 -RUN rm /etc/xdg/autostart/lxpolkit.desktop -RUN mv /usr/bin/lxpolkit /usr/bin/lxpolkit.ORIG # Needs to be ran with HOST networking so this are no longer needed. # # HTTP Port diff --git a/get_latest_prusaslicer_release.sh b/get_latest_prusaslicer_release.sh old mode 100644 new mode 100755