mirror of
https://github.com/mkuf/prind.git
synced 2025-10-31 18:36:32 +01:00
Merge pull request #158 from mkuf/add-additional-requirements-to-moonraker
moonraker: add additional requirements related to https://github.com/Arksine/moonraker/issues/864
This commit is contained in:
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
### Added
|
||||||
* docs: note about video device permissions via #155 reported by @d-graz
|
* docs: note about video device permissions via #155 reported by @d-graz
|
||||||
|
* moonraker: additional requirements are installed prior to upstream requirements, fixes https://github.com/Arksine/moonraker/issues/864
|
||||||
### Fixed
|
### Fixed
|
||||||
### Changed
|
### Changed
|
||||||
### Removed
|
### Removed
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
## Get Code and Build venv
|
## Get Code and Build venv
|
||||||
FROM python:3.12-bookworm as build
|
FROM python:3.12-bookworm as build
|
||||||
|
|
||||||
|
WORKDIR /opt
|
||||||
|
COPY requirements-prind.txt .
|
||||||
|
|
||||||
|
RUN python -m venv venv \
|
||||||
|
&& venv/bin/pip install -r requirements-prind.txt
|
||||||
|
|
||||||
ARG REPO=https://github.com/Arksine/moonraker
|
ARG REPO=https://github.com/Arksine/moonraker
|
||||||
ARG VERSION=master
|
ARG VERSION=master
|
||||||
|
|
||||||
WORKDIR /opt
|
|
||||||
|
|
||||||
RUN git clone ${REPO} moonraker \
|
RUN git clone ${REPO} moonraker \
|
||||||
&& cd moonraker \
|
&& cd moonraker \
|
||||||
&& git checkout ${VERSION} \
|
&& git checkout ${VERSION} \
|
||||||
|
|||||||
4
docker/moonraker/requirements-prind.txt
Normal file
4
docker/moonraker/requirements-prind.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
## This file contains additional requirements
|
||||||
|
## Packages defined here will be installed prior to klippy requirements
|
||||||
|
##
|
||||||
|
lmdb==1.4.1
|
||||||
Reference in New Issue
Block a user