webrtc sendrecv example docker-compose results in 404 Not Found errors due to ancient base distro / versions
When running docker-compose up
I run into the below error.
WARNING: Native build is an experimental feature and could change at any time
Building sendrecv-gst
[+] Building 3.9s (7/10)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 461B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/maxmcd/gstreamer:1.14-buster 1.4s
=> [auth] maxmcd/gstreamer:pull token for registry-1.docker.io 0.0s
=> CACHED [1/5] FROM docker.io/maxmcd/gstreamer:1.14-buster@sha256:084342f1818e07066b7e9ba61be0fc5371bde8c6818f088161d938a455ae9d68 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 597B 0.0s
=> ERROR [2/5] RUN apt-get install -y libjson-glib-dev 2.4s
------
> [2/5] RUN apt-get install -y libjson-glib-dev:
#6 0.359 Reading package lists...
#6 1.149 Building dependency tree...
#6 1.293 Reading state information...
#6 1.440 The following additional packages will be installed:
#6 1.441 gir1.2-json-1.0 libjson-glib-1.0-0 libjson-glib-1.0-common
#6 1.442 Suggested packages:
#6 1.442 libjson-glib-doc
#6 1.515 The following NEW packages will be installed:
#6 1.515 gir1.2-json-1.0 libjson-glib-1.0-0 libjson-glib-1.0-common libjson-glib-dev
#6 1.796 0 upgraded, 4 newly installed, 0 to remove and 12 not upgraded.
#6 1.796 Need to get 154 kB of archives.
#6 1.796 After this operation, 1004 kB of additional disk space will be used.
#6 1.796 Err:1 http://deb.debian.org/debian buster/main amd64 libjson-glib-1.0-common all 1.4.2-4
#6 1.796 404 Not Found [IP: 151.101.54.132 80]
#6 1.969 Err:2 http://deb.debian.org/debian buster/main amd64 libjson-glib-1.0-0 amd64 1.4.2-4
#6 1.969 404 Not Found [IP: 151.101.54.132 80]
#6 2.171 Err:3 http://deb.debian.org/debian buster/main amd64 gir1.2-json-1.0 amd64 1.4.2-4
#6 2.171 404 Not Found [IP: 151.101.54.132 80]
#6 2.334 Err:4 http://deb.debian.org/debian buster/main amd64 libjson-glib-dev amd64 1.4.2-4
#6 2.334 404 Not Found [IP: 151.101.54.132 80]
#6 2.341 E: Failed to fetch http://deb.debian.org/debian/pool/main/j/json-glib/libjson-glib-1.0-common_1.4.2-4_all.deb 404 Not Found [IP: 151.101.54.132 80]
#6 2.341 E: Failed to fetch http://deb.debian.org/debian/pool/main/j/json-glib/libjson-glib-1.0-0_1.4.2-4_amd64.deb 404 Not Found [IP: 151.101.54.132 80]
#6 2.341 E: Failed to fetch http://deb.debian.org/debian/pool/main/j/json-glib/gir1.2-json-1.0_1.4.2-4_amd64.deb 404 Not Found [IP: 151.101.54.132 80]
#6 2.341 E: Failed to fetch http://deb.debian.org/debian/pool/main/j/json-glib/libjson-glib-dev_1.4.2-4_amd64.deb 404 Not Found [IP: 151.101.54.132 80]
#6 2.341 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
------
executor failed running [/bin/sh -c apt-get install -y libjson-glib-dev]: exit code: 100
ERROR: Service 'sendrecv-gst' failed to build
I went ahead and added a RUN apt-get --allow-releaseinfo-change update
on line 3 of gst-examples/webrtc/sendrecv/gst/Dockerfile
that will do the update and ignore the repo status change.
Before I submit a PR wanted to see if anyone else is encountering this.