diff --git a/3dprinter-octoprint/Dockerfile b/3dprinter-octoprint/Dockerfile index 9ae56dc..7030e41 100644 --- a/3dprinter-octoprint/Dockerfile +++ b/3dprinter-octoprint/Dockerfile @@ -1,6 +1,6 @@ ARG BUILD_FROM="ghcr.io/home-assistant/amd64-base-debian:bullseye" FROM ${BUILD_FROM} -ARG OCTOPRINT_VERSION="1.7.2" +ARG OCTOPRINT_VERSION="1.8.1" ENV OCTOPRINT_VERSION=${OCTOPRINT_VERSION} @@ -12,11 +12,18 @@ ENV PATH=/data/python/octoprint/bin:${PATH} # Install dependencies RUN apt update && \ apt install -y \ + --no-install-recommends \ python3-venv \ python3-dev \ python3-wheel \ build-essential \ nginx \ + # Extras. + # ffmpeg \ + # avrdude \ + # dfu-util \ + # dfu-programmer \ + # stm32flash \ && \ apt clean diff --git a/3dprinter-octoprint/config.yaml b/3dprinter-octoprint/config.yaml index 001f95c..14b2192 100644 --- a/3dprinter-octoprint/config.yaml +++ b/3dprinter-octoprint/config.yaml @@ -1,5 +1,5 @@ name: "3DPrinter-OctoPrint" -version: "2022.7.024" +version: "2022.7.025" slug: "3dprinter-octoprint" description: "OctoPrint as an addon, no additional bells and whistles." url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint" diff --git a/3dprinter-octoprint/rootfs/root/config/octoprint/config.yaml b/3dprinter-octoprint/rootfs/root/config/octoprint/config.yaml index 2abcc01..a5b1d15 100644 --- a/3dprinter-octoprint/rootfs/root/config/octoprint/config.yaml +++ b/3dprinter-octoprint/rootfs/root/config/octoprint/config.yaml @@ -15,3 +15,5 @@ server: serverRestartCommand: /scripts/octoprint_restart.sh systemRestartCommand: /scripts/system_restart.sh systemShutdownCommand: /scripts/system_shutdown.sh +webcam: + ffmpeg: /usr/bin/ffmpeg