Use latest OctoPrint version; add ffmpeg path to config
This commit is contained in:
parent
92e2307c35
commit
c23bd3726b
@ -1,6 +1,6 @@
|
|||||||
ARG BUILD_FROM="ghcr.io/home-assistant/amd64-base-debian:bullseye"
|
ARG BUILD_FROM="ghcr.io/home-assistant/amd64-base-debian:bullseye"
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
ARG OCTOPRINT_VERSION="1.7.2"
|
ARG OCTOPRINT_VERSION="1.8.1"
|
||||||
|
|
||||||
ENV OCTOPRINT_VERSION=${OCTOPRINT_VERSION}
|
ENV OCTOPRINT_VERSION=${OCTOPRINT_VERSION}
|
||||||
|
|
||||||
@ -12,11 +12,18 @@ ENV PATH=/data/python/octoprint/bin:${PATH}
|
|||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt install -y \
|
apt install -y \
|
||||||
|
--no-install-recommends \
|
||||||
python3-venv \
|
python3-venv \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-wheel \
|
python3-wheel \
|
||||||
build-essential \
|
build-essential \
|
||||||
nginx \
|
nginx \
|
||||||
|
# Extras.
|
||||||
|
# ffmpeg \
|
||||||
|
# avrdude \
|
||||||
|
# dfu-util \
|
||||||
|
# dfu-programmer \
|
||||||
|
# stm32flash \
|
||||||
&& \
|
&& \
|
||||||
apt clean
|
apt clean
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
name: "3DPrinter-OctoPrint"
|
name: "3DPrinter-OctoPrint"
|
||||||
version: "2022.7.024"
|
version: "2022.7.025"
|
||||||
slug: "3dprinter-octoprint"
|
slug: "3dprinter-octoprint"
|
||||||
description: "OctoPrint as an addon, no additional bells and whistles."
|
description: "OctoPrint as an addon, no additional bells and whistles."
|
||||||
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"
|
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"
|
||||||
|
|||||||
@ -15,3 +15,5 @@ server:
|
|||||||
serverRestartCommand: /scripts/octoprint_restart.sh
|
serverRestartCommand: /scripts/octoprint_restart.sh
|
||||||
systemRestartCommand: /scripts/system_restart.sh
|
systemRestartCommand: /scripts/system_restart.sh
|
||||||
systemShutdownCommand: /scripts/system_shutdown.sh
|
systemShutdownCommand: /scripts/system_shutdown.sh
|
||||||
|
webcam:
|
||||||
|
ffmpeg: /usr/bin/ffmpeg
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user