54 Commits

Author SHA1 Message Date
Dieter Schmidt
b88d0687b1 fix supervisorctl control from moonraker 2024-11-03 15:45:47 +01:00
Dieter Schmidt
d51c5a67db fix Dockerfile syntax 2024-11-03 14:56:02 +01:00
Dieter Schmidt
c68ce6461a fix copy path 2024-11-03 14:50:40 +01:00
Arun Mallassery
90408eef02 Klipper paths fix. added mjpg-streamer (#56)
* follow recommendation in #20:
add restart: unless-stopped to fluidd

* Update MacOS Compatibility note

Added comment that MacOS Docker cannot currently map TTY devices to containers, preventing using Klipper via host serial devices

* fixed klipper paths
added mjpg stremer

* removed privilaged mode

---------

Co-authored-by: Dieter Schmidt <dima.loschkin@gmail.com>
Co-authored-by: Adam Nock <adamnock@users.noreply.github.com>
Co-authored-by: dimalo <ds_github@schmidt-in.space>
2024-11-03 14:45:57 +01:00
Dieter Schmidt
059e47447d fix missing libtiff5 2024-10-31 18:45:45 +01:00
Dieter Schmidt
9837720177 fix missing libtiff5 2024-10-31 18:45:13 +01:00
Dieter Schmidt
ca0933413c fix Dockerfile 2024-10-31 18:43:42 +01:00
Dieter Schmidt
7c5894bac6 remove bullseye tag 2024-10-31 18:42:33 +01:00
Dieter Schmidt
f57a58e37c fix supervisord user 2023-03-01 00:41:08 +01:00
Dieter Schmidt
59da8ceb71 update python to 3.11 2023-02-28 21:43:41 +01:00
Dieter Schmidt
a403b27e46 fix /var/log/supervisor/ access 2023-02-27 22:42:05 +01:00
Dieter Schmidt
e7b9ceb6ed fix /var/log/supervisor/ access 2023-02-27 15:09:45 +01:00
Dieter Schmidt
d857b7da8e fix /var/log/supervisor/supervisord.log access 2023-02-27 12:01:32 +01:00
Dieter Schmidt
038c359bdb fix moonraker log access to /var/log/supervisor 2023-02-26 23:02:32 +01:00
Dieter Schmidt
c16afe5f32 fix supervisor log level 2023-02-26 22:51:51 +01:00
Dieter Schmidt
189cc26d5f adjust supervisord config 2023-02-26 15:31:41 +01:00
Dieter Schmidt
aa4ede2beb fix supervisor configs 2023-01-18 20:27:45 +01:00
Dieter Schmidt
63bea0467a fix supervisor config 2023-01-18 17:23:04 +01:00
Dieter Schmidt
72463fd204 update to printer_data folder path
- revert to python 3.10
- adjust supervisor config path
2023-01-18 16:01:00 +01:00
Dieter Schmidt
213732a887 update to python 3.11 2023-01-18 13:56:42 +01:00
Dieter Schmidt
eb1456be45 remove /wheels folder after install to slim down the image 2022-09-25 14:53:47 +02:00
Dieter Schmidt
c248a7b58e add python gpiod module to moonraker (fix #33?) 2022-09-25 14:45:17 +02:00
Dieter Schmidt
177c43b1bb ADD klipper_z_calibration extension (resolve #32) 2022-09-25 14:38:08 +02:00
Dieter Schmidt
894131a45d fix missing gcc in image to build wheels
- use build stage to compile wheels, then just install in target image
2022-09-23 13:02:38 +02:00
Dieter Schmidt
4cb2a4b248 update docker build
- BREAKING CHANGE: make printer.cfg the main config file, instead of klipper.cfg.
  existing configs need to be migrated:
  - copy all include statements from klipper.cfg to printer.cfg
  - remove klipper.cfg
- add run_in_venv script to activate venv correctly, then start klipper/moonraker
- add rpi_mcu config file and include in printer.cfg
- add cap_add: SYS_NICE to docker-compose to run klipper_mcu
- build & run klipper with python3
- precompile klipper C-Code in build stage, remove gcc from run image (https://www.klipper3d.org/Packaging.html)
- remove python3 debian packages, globally install with pip instead
2022-09-23 00:38:50 +02:00
Dieter Schmidt
d67f66d0cb fix numpy install 2022-04-04 16:38:38 +02:00
Dieter Schmidt
89628dbe20 add dependencies for resonance measurements 2022-04-04 16:37:30 +02:00
Dieter Schmidt
26e7794231 fix typo 2022-04-04 15:48:16 +02:00
Dieter Schmidt
87eea8a408 revert supervisor config 2022-04-04 15:42:40 +02:00
Dieter Schmidt
b59dbea4d4 fix supervisord setup 2022-04-04 15:35:13 +02:00
Dieter Schmidt
a448e4f7b5 add linux mcu
add firmware build script (WIP)
2022-04-04 14:48:26 +02:00
Dieter Schmidt
741be01df9 refine klipper image 2022-01-15 12:57:31 +01:00
Dieter Schmidt
25061677a7 update dependencies for moonraker 2022-01-15 12:17:16 +01:00
Dieter Schmidt
c135071779 update klipper image
- add ARG to select klipper / moonraker branch
- align klipper source repo to Klipper3d org
2022-01-15 01:26:33 +01:00
Dieter Schmidt
dd2bdbdc2d minor fix on Dockerfile 2021-12-23 14:50:12 +01:00
Dieter Schmidt
9bb10982d9 update python to 3.10 2021-11-22 20:53:23 +01:00
Dieter Schmidt
08611bf1fc add fluidd image & klipper firmware builder image 2021-10-13 20:04:51 +02:00
Dieter Schmidt
08031ac5f3 FIX: python3 vs python2 2021-09-30 11:37:53 +02:00
Dieter Schmidt
f284e947b6 update python envs
- set PYTHONHOME instead of PYTHONPATH
- remove deps path
2021-09-24 01:46:03 +02:00
Dieter Schmidt
19b28f17cd adjust python virtualenv setup to bullseye
- python2 is not longer default so we have to be explicit
2021-09-23 15:25:32 +02:00
Dieter Schmidt
71e37f4239 fix builder package installs & moonraker.ini 2021-09-22 23:28:50 +02:00
Chris Edstrom
37dcbdd70c Slight bump on Klipper deps to fix #13 2021-08-31 11:55:54 -07:00
Dieter Schmidt
b26f651ce4 remove rust install
moonraker has switched crypto requirement, so no need anymore
2021-06-26 15:57:25 +02:00
Dieter Schmidt
dfbc0e95dc update Dockerfile
- add new moonraker requirements
- add moonraker database folder
2021-06-26 15:05:05 +02:00
Dieter Schmidt
760cb1358f update moonraker build & config
- add Rust toolchain
- update config
  - update authorization
  - add database config
  - add docker volume mount for moonraker database persistence
2021-05-29 18:13:44 +02:00
Dieter Schmidt
a1fcab26dc update Dockerfile
- fix syntax
- use base tag instead of buster
2021-04-10 19:31:47 +02:00
Dieter Schmidt
ae4aeb5ad2 apt install latest moonraker requirements 2021-04-07 00:41:37 +02:00
Dieter Schmidt
2a5f7976bf fix multiple envs clash with latest moonraker glob 2021-02-17 00:21:07 +01:00
Dieter Schmidt
54c4948387 pin python version to make sure symlinks work 2021-02-03 21:11:44 +01:00
Dieter Schmidt
6f6cfdf4f3 bugfix for moonraker update manager
- add symbolic links to python3.9 to make moonraker happy
2021-02-03 21:09:29 +01:00