weaveworks / launcher

Weave Cloud Launcher
Apache License 2.0
10 stars 13 forks source link

Add org.opencontainers.image.* labels to Dockerfiles #195

Closed marccarre closed 6 years ago

marccarre commented 6 years ago

Why? What?

Testing:

$ docker inspect quay.io/weaveworks/launcher-agent
[
    {
        [...]
        "ContainerConfig": {
            [...]
            "Labels": {
                "maintainer": "Weaveworks <help@weave.works>",
                "org.opencontainers.image.revision": "dbd70c8482ef23d11f434c6b7e7fde9f7c7b3a62",
                "org.opencontainers.image.source": "https://github.com/weaveworks/launcher",
                "org.opencontainers.image.title": "launcher-agent",
                "org.opencontainers.image.vendor": "Weaveworks"
            }
[...]

$ docker inspect quay.io/weaveworks/launcher-service
[
    {
        [...]
        "ContainerConfig": {
            [...]
            "Labels": {
                "maintainer": "Weaveworks <help@weave.works>",
                "org.opencontainers.image.revision": "dbd70c8482ef23d11f434c6b7e7fde9f7c7b3a62",
                "org.opencontainers.image.source": "https://github.com/weaveworks/launcher",
                "org.opencontainers.image.title": "launcher-service",
                "org.opencontainers.image.vendor": "Weaveworks"
            }
[...]