Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building Docker image #126

Open
roccomuso opened this issue Apr 23, 2024 · 1 comment
Open

Error building Docker image #126

roccomuso opened this issue Apr 23, 2024 · 1 comment

Comments

@roccomuso
Copy link

Building the Docker image is failing with the following errors:

W: GPG error: http://deb.debian.org/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131 NO_PUBKEY F8D2585B8783D481
E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed.
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code
The command '/bin/sh -c apt update && apt install age # && apt clean' returned a non-zero code: 100
@roccomuso
Copy link
Author

I've changed my Dockerfile to be able to build the new image, like this:

FROM python:3.8-slim-bullseye
COPY . /claim
WORKDIR /claim
RUN apt update && apt install age && apt clean
RUN apt install curl -y
RUN curl -o metadata.json https://fluence-dao.s3.eu-west-1.amazonaws.com/metadata.json
RUN pip install -r python/requirements.txt

ENTRYPOINT ["python", "python/proof.py"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant