diff --git a/3dprinter-octoprint/Dockerfile b/3dprinter-octoprint/Dockerfile index cbf7f3f..86bf5ae 100644 --- a/3dprinter-octoprint/Dockerfile +++ b/3dprinter-octoprint/Dockerfile @@ -46,6 +46,7 @@ RUN chmod +x /etc/cont-init.d/*.sh RUN chmod +x /etc/services.d/*/* RUN chmod +x /scripts/*.sh -# # Test install, verify that install will be possible. -# RUN sed 's/#!/# #!/' /etc/cont-init.d/octoprint.sh > /tmp/octoprint.sh -# # RUN bash /tmp/octoprint.sh +# Test install, verify that install will be possible. +RUN sed 's/#!/# #!/' /etc/cont-init.d/octoprint.sh > /tmp/octoprint.sh +RUN bash /tmp/octoprint.sh \ + && rm -rf /data/* /tmp/*