1modm / petereport

PeTeReport is an open-source application vulnerability reporting tool.

Home Page:https://1modm.github.io/petereport/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pandoc download error while building

Divinemonk opened this issue · comments

Resolving github.com (github.com)... 20.207.73.82
Connecting to github.com (github.com)|20.207.73.82|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-06-10 11:25:09 ERROR 404: Not Found.

ERROR: Service 'petereport' failed to build: The command '/bin/sh -c wget https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-1-${TARGETARCH}.deb' returned a non-zero code: 

This is the error I encontered!
The ${TARGETARCH} is not giving proper architecture, enabling to fail the further downloading!
How to resolve (or needs an code fix)?

commented

Hi,

Take a look here: https://1modm.github.io/petereport/docker/

Should be just to specify during compose phase:

docker compose build --build-arg TARGETARCH=amd64
docker compose up

Thanks