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

Fail building during "apt update" command #73

Closed Aledangelo closed 10 months ago

Aledangelo commented 11 months ago

I'm running docker-compose build on windows 11, with docker 23.0.5

[+] Building 20.8s (6/29)
 => [internal] load .dockerignore                                                                                                                                                 0.1s
 => => transferring context: 2B                                                                                                                                                   0.0s
 => [internal] load build definition from Dockerfile                                                                                                                              0.1s
 => => transferring dockerfile: 2.05kB                                                                                                                                            0.0s
 => [internal] load metadata for docker.io/library/ubuntu:latest                                                                                                                  0.9s
 => [internal] load build context                                                                                                                                                 0.1s
 => => transferring context: 29B                                                                                                                                                  0.0s
 => CACHED [ 1/25] FROM docker.io/library/ubuntu:latest@sha256:0bced47fffa3361afa981854fcabcd4577cd43cebbb808cea2b1f33a3dd7f508                                                   0.0s
 => ERROR [ 2/25] RUN apt-get -y update                                                                                                                                          19.8s
------
 > [ 2/25] RUN apt-get -y update:
#0 0.730 Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
#0 0.753 Get:2 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
#0 1.728 Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
#0 2.444 Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
#0 3.138 Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
#0 5.059 Get:6 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
#0 5.847 Get:7 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
#0 6.781 Get:8 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
#0 18.27 Get:9 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [25.6 kB]
#0 18.58 Get:10 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [49.4 kB]
#0 18.75 Reading package lists...
#0 19.37 E: Release file for http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease is not valid yet (invalid for another 46min 12s). Updates for this repository will not be applied.
#0 19.37 E: Release file for http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease is not valid yet (invalid for another 46min 29s). Updates for this repository will not be applied.
------
failed to solve: process "/bin/sh -c apt-get -y update" did not complete successfully: exit code: 100
1modm commented 10 months ago

Added mayor enhancements and contributions. Try to update from the repository git pull and try again.

If using docker:

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