Update Klipper with Fluidd.

This commit is contained in:
Fredrik Baberg
2024-02-08 22:22:14 +01:00
parent 2155218870
commit eba75db654
24 changed files with 286 additions and 108 deletions

View File

@@ -2,37 +2,37 @@ ARG BUILD_FROM="ghcr.io/home-assistant/amd64-base"
FROM ${BUILD_FROM}
# Setup path for persistent install of Python packages
ENV KLIPPER_PATH=/data/klipper
ENV KLIPPER_VENV_PATH=/data/python/klipper
ENV MOONRAKER_PATH=/data/moonraker
ENV MOONRAKER_VENV_PATH=/data/python/moonraker
ENV ADDON_CONFIG_PATH=/config
ENV SIMULAVR_PATH=/data/simulavr
ENV ADDON_SRC_PATH=/config/src
ENV ADDON_VENV_PATH=/config/python
# Preparations for Klipper
# Install required packages
RUN apk add -U \
# Proxy
caddy \
# Common
git \
py3-virtualenv \
python3-dev \
iproute2 \
# Klipper
libffi-dev \
gcc \
g++ \
libffi-dev \
python3-dev \
make \
dbus \
# For building for different platforms
# AVR chip installation and building
avrdude gcc-avr binutils-avr avr-libc \
# ARM chip installation and building
stm32flash newlib-arm-none-eabi \
gcc-arm-none-eabi binutils-arm-none-eabi libusb pkgconf \
gcc-arm-none-eabi binutils-arm-none-eabi newlib-arm-none-eabi \
stm32flash \
# Moonraker
libsodium-dev \
patch \
# Simulavr
cmake swig \
# For Moonraker
patch \
libsodium-dev \
iproute2 \
screen
# Fluidd
wget unzip
# Copy root filesystem
COPY rootfs /