Skip to content

Embedded File Brainstorm #97

@FelicianoTech

Description

@FelicianoTech

A major feature of Sonar will be the ability to embed a file into a Docker image that contains useful information about the image itself. This file will be a JSON file.

Possible filenames:

  • /manifest.json
  • /blueprint.json
  • /meta.json

An example of what the file might look like:

{
  "version": "0.1.0",
  "generator": "sonar",
  "date": "2021-02-12 14:00:00",
  "description": "This is an embedded description of the image. More for purpose rather than describing what's in it.",
  "home": "https://hub.docker.com/r/felicianotech/sonar",
  "docs": "https://docs.feliciano.tech/images/this",
  "meta": {
    "namespace": "hubci",
    "name": "sonar",
    "tags": [
      "1.10.1",
      "1.10"
    ],
  },
  "git": {
    "url": "git@github.com/felicianotech/sonar.git",
    "hash": "gdshuhsghs",
    "filepath": "12.6/Dockerfile"
  },
  "packages": [
    {
      "name": "cowsay",
      "version": "1.2.3-ubuntu0",
      "pmgr": "apt",
      "source": "direct"
    },
    {
      "name": "electron",
      "version": "6.6.3",
      "pmgr": "npm",
      "source": "upstream"
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions