1modm / petereport

PeTeReport is an open-source application vulnerability reporting tool.
https://1modm.github.io/petereport/
BSD 3-Clause "New" or "Revised" License
449 stars 131 forks source link

Pandoc download error while building #70

Closed Divinemonk closed 1 year ago

Divinemonk commented 1 year ago
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)?

1modm commented 1 year ago

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