SHA256
1
0
forked from pool/httpd-image

Accepting request 884079 from home:brunoleon:branches:openSUSE:Templates:Images:Tumbleweed

Remove unrelated entries from changes file

OBS-URL: https://build.opensuse.org/request/show/884079
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:containers/httpd-image?expand=0&rev=1
This commit is contained in:
Thorsten Kukuk 2021-04-09 14:31:14 +00:00 committed by Git OBS Bridge
commit 7b3cd2d226
7 changed files with 115 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

27
Dockerfile Normal file
View File

@ -0,0 +1,27 @@
# Defines the tag for OBS and build script builds:
#!BuildTag: opensuse/httpd:latest
#!BuildTag: opensuse/httpd:%%MINOR%%
#!BuildTag: opensuse/httpd:%%PKG_VERSION%%
#!BuildTag: opensuse/httpd:%%PKG_VERSION%%-%RELEASE%
FROM opensuse/tumbleweed
# labelprefix=org.opensuse.httpd
PREFIXEDLABEL org.opencontainers.image.title="Apache httpd container"
PREFIXEDLABEL org.opencontainers.image.description="Apache httpd container"
PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%"
PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%-%RELEASE%"
PREFIXEDLABEL org.opencontainers.image.vendor="openSUSE Project"
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
PREFIXEDLABEL org.opensuse.reference="registry.opensuse.org/opensuse/httpd:%%PKG_VERSION%%-%RELEASE%"
RUN zypper install -y --no-recommends apache2 && \
zypper clean
# https://httpd.apache.org/docs/2.4/stopping.html#gracefulstop
STOPSIGNAL SIGWINCH
VOLUME /srv/www/htdocs
EXPOSE 80
ENTRYPOINT ["httpd", "-DFOREGROUND"]

17
LICENSE Normal file
View File

@ -0,0 +1,17 @@
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

30
_service Normal file
View File

@ -0,0 +1,30 @@
<services>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service mode="buildtime" name="docker_label_helper"/>
<service name="obs_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/openSUSE/container-images.git</param>
<param name="revision">main</param>
<param name="subdir">http</param>
<param name="extract">Dockerfile</param>
<param name="changesgenerate">enable</param>
</service>
<service name="obs_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/openSUSE/container-images.git</param>
<param name="revision">main</param>
<param name="extract">LICENCE</param>
</service>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%PKG_VERSION%%</param>
<param name="parse-version">patch</param>
<param name="package">apache2</param>
</service>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%MINOR%%</param>
<param name="parse-version">minor</param>
<param name="package">apache2</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/container-images.git</param>
<param name="changesrevision">cb3691c2f8ef2d5ff605304fc6bce7a6455c5613</param></service></servicedata>

13
httpd-image.changes Normal file
View File

@ -0,0 +1,13 @@
-------------------------------------------------------------------
Thu Apr 08 09:37:09 UTC 2021 - bruno.leon@suse.com
- Update to version 1617872371.cb3691c:
* httpd: add labelprefix
* httpd: explicitely install apache2 pkg
* httpd: fix zypper clean call
* httpd: add vendor label
-------------------------------------------------------------------
Mon Mar 29 08:35:46 UTC 2021 - Bruno Leon <bruno.leon@suse.com>
- Initial release