From ee17275f75864a696d7db8eef6bef2f3c5271b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Tue, 25 Jun 2024 10:00:47 +0200 Subject: [PATCH 1/5] chore(deps): add dependabot --- .github/dependabot.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e79dd14 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: monthly + day: sunday + open-pull-requests-limit: 3 + rebase-strategy: disabled + - package-ecosystem: docker + directory: / + schedule: + interval: monthly From 1a22f8b90a81a6194ce660e8b5a6b40710ea1d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Tue, 25 Jun 2024 10:51:54 +0200 Subject: [PATCH 2/5] fix: bump debian base image to bookworm --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 30481ad..fa2fb47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,13 @@ # # VERSION 0.1 -FROM debian:10.5-slim +FROM debian:bookworm-slim LABEL Description="This image can be used to create a sidekick container for recording videos of VNC sessions hosted in other containers" LABEL maintainer="Richard North " RUN apt-get update && apt-get install -y \ - python-pip python-dev ffmpeg \ + python3-pip python3-dev ffmpeg \ && rm -rf /var/lib/apt/lists/* \ && pip install vnc2flv \ && rm -fr /tmp/* From b113792e4ffe78124de58652c1d059e5bf1721b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Tue, 25 Jun 2024 11:16:37 +0200 Subject: [PATCH 3/5] chore: install vnc2flv for python3 using pipx --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa2fb47..fbc2562 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,9 @@ LABEL Description="This image can be used to create a sidekick container for rec LABEL maintainer="Richard North " RUN apt-get update && apt-get install -y \ - python3-pip python3-dev ffmpeg \ + python3-pip python-dev ffmpeg \ && rm -rf /var/lib/apt/lists/* \ - && pip install vnc2flv \ + && pipx install vnc2flv3 \ && rm -fr /tmp/* ENTRYPOINT ["flvrec.py"] From 380f61d63311dfc2a84b7628d1c9a83936ddd265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Tue, 25 Jun 2024 11:28:45 +0200 Subject: [PATCH 4/5] fix: use python3-dev --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fbc2562..4cba654 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ LABEL Description="This image can be used to create a sidekick container for rec LABEL maintainer="Richard North " RUN apt-get update && apt-get install -y \ - python3-pip python-dev ffmpeg \ + python3-pip python3-dev ffmpeg \ && rm -rf /var/lib/apt/lists/* \ && pipx install vnc2flv3 \ && rm -fr /tmp/* From cebb363e76a27984cdb5e8daabda2f18edeb5652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Tue, 25 Jun 2024 11:37:37 +0200 Subject: [PATCH 5/5] fix: install pipx --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4cba654..aad66ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ LABEL Description="This image can be used to create a sidekick container for rec LABEL maintainer="Richard North " RUN apt-get update && apt-get install -y \ - python3-pip python3-dev ffmpeg \ + python3-pip python3-dev ffmpeg pipx \ && rm -rf /var/lib/apt/lists/* \ && pipx install vnc2flv3 \ && rm -fr /tmp/*