mirror of
https://github.com/helfrichmichael/prusaslicer-novnc.git
synced 2024-08-30 18:32:27 +00:00
fix: clean up layers add exec on get_
Signed-off-by: vajonam <152501+vajonam@users.noreply.github.com>
This commit is contained in:
parent
c89d7003e4
commit
407e64c6e2
16
Dockerfile
16
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
|
||||
|
0
get_latest_prusaslicer_release.sh
Normal file → Executable file
0
get_latest_prusaslicer_release.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user