Accepting request 1041654 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1041654 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-docker_label_helper?expand=0&rev=5
This commit is contained in:
commit
db4e8326fd
2
README
2
README
@ -23,7 +23,7 @@ FROM opensuse/tumbleweed
|
|||||||
LABEL org.opencontainers.image.title="Example container"
|
LABEL org.opencontainers.image.title="Example container"
|
||||||
LABEL org.opencontainers.image.description="This contains nano"
|
LABEL org.opencontainers.image.description="This contains nano"
|
||||||
# endlabelprefix
|
# endlabelprefix
|
||||||
LABEL not.expanded.label="example
|
LABEL not.expanded.label="example"
|
||||||
```
|
```
|
||||||
|
|
||||||
expands to
|
expands to
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 7 09:48:52 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Do not ever use "%setup -n .": rpm 4.18 tries to be cleaner and
|
||||||
|
remove stuff it extraced, which would lead to 'rm -rf .', which
|
||||||
|
rm does not like. Use "%setup -c" instead, which creates the
|
||||||
|
appropriate %{name}-%{version} directory expected.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 21 12:50:28 UTC 2022 - Fabian Vogt <fvogt@suse.com>
|
Thu Jul 21 12:50:28 UTC 2022 - Fabian Vogt <fvogt@suse.com>
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ An OBS service which expands LABEL instructions in Dockerfile with prefixes.
|
|||||||
Useful for implementing https://en.opensuse.org/Building_derived_containers#Labels.
|
Useful for implementing https://en.opensuse.org/Building_derived_containers#Labels.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -D -T -n .
|
%setup -q -D -T -c
|
||||||
cp %{SOURCE2} .
|
cp %{SOURCE2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user