Accepting request 898290 from home:brunoleon:branches:openSUSE:Templates:Images:Tumbleweed
Initial tomcat-image release OBS-URL: https://build.opensuse.org/request/show/898290 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:containers/tomcat-image?expand=0&rev=1
This commit is contained in:
commit
d76edbccc7
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
24
Dockerfile
Normal file
24
Dockerfile
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Defines the tag for OBS and build script builds:
|
||||||
|
#!BuildTag: opensuse/tomcat:latest
|
||||||
|
#!BuildTag: opensuse/tomcat:%%MINOR%%
|
||||||
|
#!BuildTag: opensuse/tomcat:%%PKG_VERSION%%
|
||||||
|
#!BuildTag: opensuse/tomcat:%%PKG_VERSION%%-%RELEASE%
|
||||||
|
|
||||||
|
FROM opensuse/tumbleweed
|
||||||
|
|
||||||
|
# labelprefix=org.opensuse.tomcat
|
||||||
|
PREFIXEDLABEL org.opencontainers.image.title="Apache tomcat container"
|
||||||
|
PREFIXEDLABEL org.opencontainers.image.description="Apache tomcat 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/tomcat:%%PKG_VERSION%%-%RELEASE%"
|
||||||
|
|
||||||
|
RUN zypper install -y --no-recommends tomcat && \
|
||||||
|
zypper clean
|
||||||
|
|
||||||
|
USER tomcat
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
ENTRYPOINT ["/usr/libexec/tomcat/server", "start"]
|
30
_service
Normal file
30
_service
Normal 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">tomcat</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">tomcat</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">tomcat</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
tomcat-image.changes
Normal file
4
tomcat-image.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 8 08:43:53 UTC 2021 - Bruno Leon <bruno.leon@suse.com>
|
||||||
|
|
||||||
|
- Initial release
|
Loading…
Reference in New Issue
Block a user