Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images are being build with no metadata #403

Closed
mvanderlee opened this issue Feb 9, 2023 · 1 comment
Closed

Images are being build with no metadata #403

mvanderlee opened this issue Feb 9, 2023 · 1 comment

Comments

@mvanderlee
Copy link

mvanderlee commented Feb 9, 2023

Images build using dind with the latest image are missing entrypoint, author, workdir, environment variables and a host more metadata.

Snippet of docker inspect output:

"Parent": "",                                                                                                                                                                                                                                                             
        "Comment": "buildkit.exporter.image.v0",                                                                                                                                                                                                                                  
        "Created": "2023-02-09T14:24:04.758910777Z",                                                                                                                                                                                                                              
        "Container": "",                                                                                                                                                                                                                                                          
        "ContainerConfig": {                                                                                                                                                                                                                                                      
            "Hostname": "",                                                                                                                                                                                                                                                       
            "Domainname": "",                                                                                                                                                                                                                                                     
            "User": "",                                                                                                                                                                                                                                                           
            "AttachStdin": false,                                                                                                                                                                                                                                                 
            "AttachStdout": false,                                                                                                                                                                                                                                                
            "AttachStderr": false,                                                                                                                                                                                                                                                
            "Tty": false,                                                                                                                                                                                                                                                         
            "OpenStdin": false,                                                                                                                                                                                                                                                   
            "StdinOnce": false,                                                                                                                                                                                                                                                   
            "Env": null,                                                                                                                                                                                                                                                          
            "Cmd": null,                                                                                                                                                                                                                                                          
            "Image": "",                                                                                                                                                                                                                                                          
            "Volumes": null,                                                                                                                                                                                                                                                      
            "WorkingDir": "",                                                                                                                                                                                                                                                     
            "Entrypoint": null,                                                                                                                                                                                                                                                   
            "OnBuild": null,                                                                                                                                                                                                                                                      
            "Labels": null                                                                                                                                                                                                                                                        
        },                                                                                                                                                                                                                                                                        
        "DockerVersion": "",                                                                                                                                                                                                                                                      
        "Author": "",                                                                                                                                                                                                                                                             
        "Config": {                                                                                                                                                                                                                                                               
            "Hostname": "",                                                                                                                                                                                                                                                       
            "Domainname": "",                                                                                                                                                                                                                                                     
            "User": "",                                                                                                                                                                                                                                                           
            "AttachStdin": false,                                                                                                                                                                                                                                                 
            "AttachStdout": false,                                                                                                                                                                                                                                                
            "AttachStderr": false,                                                                                                                                                                                                                                                
            "Tty": false,                                                                                                                                                                                                                                                         
            "OpenStdin": false,                                                                                                                                                                                                                                                   
            "StdinOnce": false,                                                                                                                                                                                                                                                   
            "Env": [                                                                                                                                                                                                                                                              
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"                                                                                                                                                                                               
            ],                                                                                                                                                                                                                                                                    
            "Cmd": null,                                                                                                                                                                                                                                                          
            "Image": "",                                                                                                                                                                                                                                                          
            "Volumes": null,                                                                                                                                                                                                                                                      
            "WorkingDir": "/",                                                                                                                                                                                                                                                    
            "Entrypoint": null,                                                                                                                                                                                                                                                   
            "OnBuild": null,                                                                                                                                                                                                                                                      
            "Labels": null                                                                                                                                                                                                                                                        
        },                                                                                                                                                                                                                                                                        
        "Architecture": "amd64",                                                                                                                                                                                                                                                  
        "Os": "linux",                                                                                                                                                                                                                                                            
        "Size": 394874390,                                                                                                                                                                                                                                                        
        "VirtualSize": 394874390,
@tianon
Copy link
Member

tianon commented Feb 9, 2023

See https://github.com/moby/moby/releases/tag/v23.0.0, especially:

@tianon tianon closed this as completed Feb 9, 2023
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

No branches or pull requests

3 participants
@tianon @mvanderlee and others