I just migrated my Windows 10 media server, including the Channels server to Debian 12. I am now trying to get chrome capture to work using a Docker image. I tried downloading the Dockerfile.txt and using it to build an image. I renamed it to "Dockerfile", then ran docker build . The build failed producing this result:
root@niu:/home/jay/channels-dvr/ChromeCapture# docker build .
[+] Building 10.4s (9/10) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.42kB 0.0s
=> [internal] load metadata for docker.io/library/node:lts-bullseye 10.3s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 2B 0.0s
=> CANCELED [base 1/5] FROM docker.io/library/node:lts-bullseye@sha256:ef503384fcee60b98cd1b13e2b0e7577cd5 0.1s
=> => resolve docker.io/library/node:lts-bullseye@sha256:ef503384fcee60b98cd1b13e2b0e7577cd5164128f219324e 0.0s
=> => sha256:c069b0179245b4b9ffa0b7545d88f8753a3008a4ba937c3d71e1eb37fce4d4b9 2.50kB / 2.50kB 0.0s
=> => sha256:ef503384fcee60b98cd1b13e2b0e7577cd5164128f219324ecebdd762c8b8e6e 3.92kB / 3.92kB 0.0s
=> => sha256:5afef5e7b68eff64cc56a378734a78ddb2ca1d8ac2cb9602786a5975c3aa784b 6.51kB / 6.51kB 0.0s
=> CACHED [base 2/5] RUN apt-get update && apt-get install -yq gconf-service libasound2 libatk1.0-0 li 0.0s
=> CACHED [base 3/5] RUN apt-get update && apt-get install -y wget gnupg && wget -q -O - https://d 0.0s
=> CACHED [base 4/5] WORKDIR /home/chrome 0.0s
=> ERROR [base 5/5] COPY main.js package.json yarn.lock /home/chrome/ 0.0s
------
> [base 5/5] COPY main.js package.json yarn.lock /home/chrome/:
------
Dockerfile:16
--------------------
14 |
15 | WORKDIR /home/chrome
16 | >>> COPY main.js package.json yarn.lock /home/chrome/
17 |
18 | FROM base
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 580ace53-c2e3-44fe-9901-1406f6fb4436::o82luuaaht65an48sjms7keu6: "/yarn.lock": not found
I noticed that there is a reference to bullseye. Will this work in Bookworm?
Maybe there's a better way to get this going.
Also, is it necessary to also run Channels in Docker in order to use this?
Thanks,
-Jay