Open mbiombani opened 2 years ago
Is there a question associated with this error?
What did you run? What have you tried to fix it?
Hi When I run the docker-compose up
When it arrives at the construction of the faust container, it fails
Command: sudo docker-compose -f docker-compose.yml -f overrides/dev-docker-compose.yml up -d Logs: Building faust Sending build context to Docker daemon 4.096kB Step 1/10 : FROM python:3.7-slim 3.7-slim: Pulling from library/python ae13dd578326: Already exists bc42e07f6f41: Pull complete 5cf3c614eb88: Pull complete 753036c42021: Pull complete f591d0c8872a: Pull complete Digest: sha256:f5f9129d24b29d1964639dac62e5e813c50aa9fe8d9ca83fd6f31d3d5e700f1a Status: Downloaded newer image for python:3.7-slim ---> 3568277de73e Step 2/10 : RUN echo 'deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main' >> /etc/apt/sources.list && apt-get update && apt-get install -y --no-install-recommends apt-utils ---> Running in e0e770d36528 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB] Get:3 http://archive.debian.org/debian jessie-backports InRelease [166 kB] Get:4 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB] Get:5 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [122 kB] Get:6 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB] Err:3 http://archive.debian.org/debian jessie-backports InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 Get:7 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [2596 B] Reading package lists... W: GPG error: http://archive.debian.org/debian jessie-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 E: The repository 'http://archive.debian.org/debian jessie-backports InRelease' is not signed. The command '/bin/sh -c echo 'deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main' >> /etc/apt/sources.list && apt-get update && apt-get install -y --no-install-recommends apt-utils' returned a non-zero code: 100 ERROR: Service 'faust' failed to build : Build failed
I'd have a look at this answer: https://unix.stackexchange.com/a/274055
Specifically the parts about adding GPG keys 8B48AD6246925553 and 7638D0442B90D010, put these in the Dockerfile for Faust I guess and it should be OK.
here is my dockerfile, but I still have the same error
FROM python:3.7-slim
RUN gpg --keyserver pgpkeys.mit.edu --recv-key 8B48AD6246925553
RUN gpg -a --export 8B48AD6246925553 | sudo apt-key add -
RUN gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
RUN gpg -a --export 7638D0442B90D010 | sudo apt-key add -
RUN echo 'deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main' >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends apt-utils
......
W: GPG error: http://archive.debian.org/debian jessie-backports InRelease: The following signatures couldn't be verified because the public key is not availab le: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 E: The repository 'http://archive.debian.org/debian jessie-backports InRelease' is not signed. The command '/bin/sh -c echo 'deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main' >> /etc/apt/sources.list && apt-get updat e && apt-get install -y --no-install-recommends apt-utils' returned a non-zero code: 100 ERROR: Service 'faust' failed to build : Build failed