fluencelabs / dev-rewards

Apache License 2.0
554 stars 368 forks source link

Error building Docker image #126

Open roccomuso opened 2 months ago

roccomuso commented 2 months ago

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 commented 2 months ago

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"]