From d76edbccc7493679db900c188939c36b2cd0c79c6409c9ae291328001a237ebd Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 9 Jun 2021 06:21:00 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++++++++++++++++ .gitignore | 1 + Dockerfile | 24 ++++++++++++++++++++++++ _service | 30 ++++++++++++++++++++++++++++++ tomcat-image.changes | 4 ++++ 5 files changed, 82 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 _service create mode 100644 tomcat-image.changes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8e2c5fa --- /dev/null +++ b/Dockerfile @@ -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"] diff --git a/_service b/_service new file mode 100644 index 0000000..4279263 --- /dev/null +++ b/_service @@ -0,0 +1,30 @@ + + + + + git + https://github.com/openSUSE/container-images.git + main + tomcat + Dockerfile + enable + + + git + https://github.com/openSUSE/container-images.git + main + LICENCE + + + Dockerfile + %%PKG_VERSION%% + patch + tomcat + + + Dockerfile + %%MINOR%% + minor + tomcat + + diff --git a/tomcat-image.changes b/tomcat-image.changes new file mode 100644 index 0000000..ea2f8ee --- /dev/null +++ b/tomcat-image.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Jun 8 08:43:53 UTC 2021 - Bruno Leon + +- Initial release