Skip to content

Conversation

@jealouscloud
Copy link

$ docker compose build
WARN[0000] /home/noah/src/work/opencve-docker/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
WARN[0000] Docker Compose is configured to build using Bake, but buildx isn't installed 
[+] Building 6.6s (7/16)                                                                                                                                                                                                                                docker:default
 => [webserver internal] load build definition from Dockerfile                                                                                                                                                                                                    0.1s
 => => transferring dockerfile: 1.14kB                                                                                                                                                                                                                            0.0s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)                                                                                                                                                                                    0.1s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)                                                                                                                                                                                    0.1s
 => [webserver internal] load metadata for docker.io/library/python:3.8-slim-buster                                                                                                                                                                               0.9s
 => [webserver internal] load .dockerignore                                                                                                                                                                                                                       0.1s
 => => transferring context: 2B                                                                                                                                                                                                                                   0.0s
 => [webserver base 1/1] FROM docker.io/library/python:3.8-slim-buster@sha256:8799b0564103a9f36cfb8a8e1c562e11a9a6f2e3bb214e2adc23982b36a04511                                                                                                                    4.6s
 => => resolve docker.io/library/python:3.8-slim-buster@sha256:8799b0564103a9f36cfb8a8e1c562e11a9a6f2e3bb214e2adc23982b36a04511                                                                                                                                   0.0s
 => => sha256:addd6962740ab9fd79a788945daa24348c11adcec97d47a647e0a61c86cc9f60 6.87kB / 6.87kB                                                                                                                                                                    0.0s
 => => sha256:8b91b88d557765cd8c6802668755a3f6dc4337b6ce15a17e4857139e5fc964f3 27.14MB / 27.14MB                                                                                                                                                                  1.1s
 => => sha256:8f777578c172d018077d3dc22d6654911fff60066097943fe8c4697ecf8aac35 12.89MB / 12.89MB                                                                                                                                                                  0.9s
 => => sha256:8799b0564103a9f36cfb8a8e1c562e11a9a6f2e3bb214e2adc23982b36a04511 988B / 988B                                                                                                                                                                        0.0s
 => => sha256:90834dba6381dfc3957573dc7a3e6c5c8ed255cf60079329a6da2b5e6d4257b8 1.37kB / 1.37kB                                                                                                                                                                    0.0s
 => => sha256:824416e234237961c9c5d4f41dfe5b295a3c35a671ee52889bfb08d8e257ec4c 2.78MB / 2.78MB                                                                                                                                                                    0.7s
 => => sha256:cbfea27109a8b1136059a7973ccb8243889faf162ebc173a05909dcb0bec03c9 244B / 244B                                                                                                                                                                        0.9s
 => => sha256:276dfcf5deffff3c5d540a8e0d9a18656a4c03637a8b4f4eec1f4a147799c901 3.14MB / 3.14MB                                                                                                                                                                    1.2s
 => => extracting sha256:8b91b88d557765cd8c6802668755a3f6dc4337b6ce15a17e4857139e5fc964f3                                                                                                                                                                         1.6s
 => => extracting sha256:824416e234237961c9c5d4f41dfe5b295a3c35a671ee52889bfb08d8e257ec4c                                                                                                                                                                         0.2s
 => => extracting sha256:8f777578c172d018077d3dc22d6654911fff60066097943fe8c4697ecf8aac35                                                                                                                                                                         0.6s
 => => extracting sha256:cbfea27109a8b1136059a7973ccb8243889faf162ebc173a05909dcb0bec03c9                                                                                                                                                                         0.0s
 => => extracting sha256:276dfcf5deffff3c5d540a8e0d9a18656a4c03637a8b4f4eec1f4a147799c901                                                                                                                                                                         0.3s
 => [webserver internal] load build context                                                                                                                                                                                                                       0.1s
 => => transferring context: 505B                                                                                                                                                                                                                                 0.0s
 => ERROR [webserver stage-2 1/3] RUN apt-get update && apt-get upgrade -y     && apt-get clean     && rm -rf /var/lib/apt/lists/*                                                                                                                                0.9s
 => ERROR [webserver builder 1/8] RUN apt-get update && apt-get upgrade -y && apt-get install -y     git     && rm -rf /var/lib/apt/lists/*                                                                                                                       0.8s
------                                                                                                                                                                                                                                                                 
 > [webserver stage-2 1/3] RUN apt-get update && apt-get upgrade -y     && apt-get clean     && rm -rf /var/lib/apt/lists/*:                                                                                                                                           
0.648 Ign:1 http://deb.debian.org/debian buster InRelease                                                                                                                                                                                                              
0.673 Ign:2 http://deb.debian.org/debian-security buster/updates InRelease                                                                                                                                                                                             
0.723 Ign:3 http://deb.debian.org/debian buster-updates InRelease                                                                                                                                                                                                      
0.750 Err:4 http://deb.debian.org/debian buster Release                                                                                                                                                                                                                
0.750   404  Not Found [IP: 151.101.194.132 80]                                                                                                                                                                                                                        
0.775 Err:5 http://deb.debian.org/debian-security buster/updates Release                                                                                                                                                                                               
0.775   404  Not Found [IP: 151.101.194.132 80]                                                                                                                                                                                                                        
0.805 Err:6 http://deb.debian.org/debian buster-updates Release
0.805   404  Not Found [IP: 151.101.194.132 80]
0.809 Reading package lists...
0.816 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
0.816 E: The repository 'http://deb.debian.org/debian-security buster/updates Release' does not have a Release file.
0.816 E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file.
------
------
 > [webserver builder 1/8] RUN apt-get update && apt-get upgrade -y && apt-get install -y     git     && rm -rf /var/lib/apt/lists/*:
0.640 Ign:1 http://deb.debian.org/debian buster InRelease
0.665 Ign:2 http://deb.debian.org/debian-security buster/updates InRelease
0.693 Ign:3 http://deb.debian.org/debian buster-updates InRelease
0.718 Err:4 http://deb.debian.org/debian buster Release
0.718   404  Not Found [IP: 151.101.2.132 80]
0.742 Err:5 http://deb.debian.org/debian-security buster/updates Release
0.742   404  Not Found [IP: 151.101.2.132 80]
0.771 Err:6 http://deb.debian.org/debian buster-updates Release
0.771   404  Not Found [IP: 151.101.2.132 80]
0.774 Reading package lists...
0.783 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
0.783 E: The repository 'http://deb.debian.org/debian-security buster/updates Release' does not have a Release file.
0.783 E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file.
------
failed to solve: process "/bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y     git     && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100

This is the current state of the repo.

The included change just bumps up to bookworm which builds successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant