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

Docker Build Fails #50

Closed luminescence69 closed 2 years ago

luminescence69 commented 2 years ago

The docker build for the latest release fails. Steps taken:

  1. git clone https://github.com/1modm/petereport.git
  2. docker-compose up --build

Error Message:

Step 17/29 : RUN wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-${TARGETARCH}.deb
 ---> Running in df97ee1dbfb0
--2022-05-30 08:31:49--  https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-.deb
Resolving github.com (github.com)... 20.205.243.166                                                                          
Connecting to github.com (github.com)|20.205.243.166|:443... connected.                                                      
HTTP request sent, awaiting response... 404 Not Found                                                                        
2022-05-30 08:31:49 ERROR 404: Not Found.                                                                                    

The command '/bin/sh -c wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-${TARGETARCH}.deb' returned a non-zero code: 8
ERROR: Service 'petereport' failed to build : Build failed
1modm commented 2 years ago

@luminescence69 you can try to specify the architecture:

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

I will update the documentation. Thanks