Octoprint bugfix FFI (#68)

Closes #67.
This commit is contained in:
Fredrik Baberg
2023-03-21 14:41:10 +01:00
committed by GitHub
parent 1955b6566b
commit 4c1885dc96
3 changed files with 12 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ RUN apt update \
python3-wheel \
build-essential \
caddy \
libffi-dev \
# Extras.
ffmpeg \
avrdude \
@@ -44,3 +45,8 @@ COPY rootfs /
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 \
&& rm -rf /data/* /tmp/*