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

Command for showing info about base images #50

Open
joonas-fi opened this issue Jan 24, 2024 · 0 comments
Open

Command for showing info about base images #50

joonas-fi opened this issue Jan 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@joonas-fi
Copy link
Member

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

@joonas-fi joonas-fi added the enhancement New feature or request label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant