Use latest OctoPrint version; add ffmpeg path to config

This commit is contained in:
Fredrik Baberg 2022-07-12 13:32:56 +02:00
parent 92e2307c35
commit c23bd3726b
3 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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"

View File

@ -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