Skip to content

Command for showing info about base images #50

Open
@joonas-fi

Description

@joonas-fi

Let's say project uses fn61/buildkit-golang as base image

That is not resolvable to coming from https://github.com/function61/buildkit-golang

It would be nice to have $ bob info print "homepage" for the base image. We already have:

$ bob info
BASIC DETAILS
+--------------------+-----------------------------------------------------+
| Project name       | turbobob                                            |
| VcKind             | git                                                 |
| Revision ID (full) | dfe3dd40 (dfe3dd401f9983dcb4ae4a97686b8e40e0a6d3a0) |
| Friendly revision  | 20231229_1339_dfe3dd40                              |
+--------------------+-----------------------------------------------------+

BUILDER
+-------------------+----------------------------------------------------------------+
| Name              | default                                                        |
| Uses              | docker://fn61/buildkit-golang:20230219_1208_a7139a03           |      # <-- add after this
| Mount source      |                                                                |
| Mount destination | /workspace                                                     |
| Build command     | build-go-project.sh --directory=cmd/bob/ --binary-basename=bob |
| Publish command   |                                                                |
| Dev command       | bash                                                           |
| Dev ports         | (none)                                                         |
+-------------------+----------------------------------------------------------------+

+-------------------+----+---------+
| CHECKS            | Ok | Reason  |
+-------------------+----+---------+
| ENV(GITHUB_TOKEN) | ✗  | Not set |
| ENV(EVENTHORIZON) | ✗  | Not set |
| License present   | ✓  |         |
| Readme present    | ✓  |         |
+-------------------+----+---------+

The base image homepage is discoverable from image metadata key org.opencontainers.image.url

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions