containers / containers/toolbox

labels don't follow oci annotations spec

Open
#1,046 0 comments 0 reactions 0 assignees View on GitHub
1. Bug 2. Images
Dominant language
Go
Stars
3.5k
Forks
262
Avg merge
3d 1h
Merged PRs (30d)
1

Description

**Describe the bug**

image labels should follow [the spec](https://github.com/opencontainers/image-spec/blob/main/annotations.md
)
for example com.github.containers.toolbox should be io.github.containers.toolbox becuse com.github is for github's use io.github is for user like (dead link you don't use github pages)

**Expected behaviour**
image should follow the oci annotations spec

**Actual behaviour**
total anarchy

**Steps how to fix the behaviour**
use this label expression (read it and the spec to be sure you want this esp the license)

```dockerfile
LABEL io.github.containers.toolbox="true" \
com.redhat.component="$NAME" \
org.opencontainers.image.title="$NAME" \
org.opencontainers.image.version="$VERSION" \
org.opencontainers.image.description="Base image for creating Fedora toolbox containers" \
org.opencontainers.image.authors="Debarshi Ray " \
org.opencontainers.image.source="https://github.com/containers/toolbox/" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.documentation="https://github.com/containers/toolbox"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.