Go to file
2020-09-17 13:35:39 +00:00
.gitattributes Accepting request 833745 from home:favogt:dockerfilemeta 2020-09-17 13:35:39 +00:00
.gitignore Accepting request 833745 from home:favogt:dockerfilemeta 2020-09-17 13:35:39 +00:00
docker_label_helper Accepting request 833745 from home:favogt:dockerfilemeta 2020-09-17 13:35:39 +00:00
docker_label_helper.service Accepting request 833745 from home:favogt:dockerfilemeta 2020-09-17 13:35:39 +00:00
obs-service-docker_label_helper.changes Accepting request 833745 from home:favogt:dockerfilemeta 2020-09-17 13:35:39 +00:00
obs-service-docker_label_helper.spec Accepting request 833745 from home:favogt:dockerfilemeta 2020-09-17 13:35:39 +00:00
README Accepting request 833745 from home:favogt:dockerfilemeta 2020-09-17 13:35:39 +00:00
test.sh Accepting request 833745 from home:favogt:dockerfilemeta 2020-09-17 13:35:39 +00:00

obs-service-docker_label_helper
===============================

This service can be enabled to run during buildtime, when it will edit the
Dockerfile to expand the PREFIXEDLABEL instruction.

Example:

```
FROM opensuse/tumbleweed
# labelprefix=org.opensuse.nano
PREFIXEDLABEL org.opencontainers.image.title="Example container"
PREFIXEDLABEL org.opencontainers.image.description="This contains nano"
```

expands to

```
FROM opensuse/tumbleweed
LABEL org.opensuse.nano.title="Example container"
LABEL org.opencontainers.image.title="Example container"
LABEL org.opensuse.nano.description="This contains nano"
LABEL org.opencontainers.image.description="This contains nano"
```