-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1967 from SUSE/for-deploy-6
🤖: Update build recipes for SP6
- Loading branch information
Showing
17 changed files
with
394 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
golang-oldstable-openssl-image/golang-oldstable-openssl-image.changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
------------------------------------------------------------------- | ||
Thu Nov 7 14:17:21 UTC 2024 - SUSE Update Bot <[email protected]> | ||
|
||
- oldstable updated to 1.22; stable is now 1.23 | ||
|
||
------------------------------------------------------------------- | ||
Wed Oct 30 15:35:19 UTC 2024 - SUSE Update Bot <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
golang-stable-openssl-image/golang-stable-openssl-image.changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
------------------------------------------------------------------- | ||
Thu Nov 7 14:17:21 UTC 2024 - SUSE Update Bot <[email protected]> | ||
|
||
- oldstable updated to 1.22; stable is now 1.23 | ||
|
||
------------------------------------------------------------------- | ||
Wed Oct 30 15:35:19 UTC 2024 - SUSE Update Bot <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!ExclusiveArch: do-not-build | ||
#!ForceMultiVersion | ||
#!BuildVersion: workaround-for-an-obs-bug | ||
#!BuildRelease: 55 | ||
|
||
# For this container we only build the Dockerfile.$flavor builds. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
# Copyright (c) 2024 SUSE LLC | ||
|
||
# All modifications and additions to the file contributed by third parties | ||
# remain the property of their copyright owners, unless otherwise agreed | ||
# upon. | ||
|
||
# The content of THIS FILE IS AUTOGENERATED and should not be manually modified. | ||
# It is maintained by the BCI team and generated by | ||
# https://github.com/SUSE/BCI-dockerfile-generator | ||
|
||
# Please submit bugfixes or comments via https://bugs.opensuse.org/ | ||
# You can contact the BCI team via https://github.com/SUSE/bci/discussions | ||
|
||
#!UseOBSRepositories | ||
#!ExclusiveArch: aarch64 x86_64 | ||
#!BuildTag: containers/apache-tomcat:%%tomcat_version%%-openjdk11-%RELEASE% | ||
#!BuildTag: containers/apache-tomcat:%%tomcat_version%%-openjdk11 | ||
#!BuildTag: containers/apache-tomcat:9-openjdk11 | ||
#!ForceMultiVersion | ||
#!BuildName: containers-apache-tomcat-9-openjdk11 | ||
#!BuildVersion: %%tomcat_version%% | ||
#!BuildRelease: 55 | ||
FROM registry.suse.com/bci/bci-micro:15.6 AS target | ||
FROM bci/bci-base:15.6 AS builder | ||
COPY --from=target / /target | ||
|
||
RUN set -euo pipefail; \ | ||
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends tomcat curl sed java-11-openjdk java-11-openjdk-headless; \ | ||
zypper -n --installroot /target remove util-linux; \ | ||
zypper -n clean; \ | ||
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2} | ||
FROM registry.suse.com/bci/bci-micro:15.6 | ||
COPY --from=builder /target / | ||
# Define labels according to https://en.opensuse.org/Building_derived_containers | ||
# labelprefix=com.suse.application.apache-tomcat | ||
LABEL org.opencontainers.image.authors="" | ||
LABEL org.opencontainers.image.title="Apache Tomcat" | ||
LABEL org.opencontainers.image.description="The Apache Tomcat software is an open-source implementation of the Jakarta Servlet, Jakarta Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Annotations, and Jakarta Authentication specifications. These specifications are part of the Jakarta EE platform." | ||
LABEL org.opencontainers.image.version="%%tomcat_version%%" | ||
LABEL org.opencontainers.image.url="https://apps.rancher.io/applications/apache-tomcat" | ||
LABEL org.opencontainers.image.created="%BUILDTIME%" | ||
LABEL org.opencontainers.image.vendor="SUSE LLC" | ||
LABEL org.opencontainers.image.source="%SOURCEURL%" | ||
LABEL org.opencontainers.image.ref.name="%%tomcat_version%%-openjdk11-%RELEASE%" | ||
LABEL org.opensuse.reference="dp.apps.rancher.io/containers/apache-tomcat:%%tomcat_version%%-openjdk11-%RELEASE%" | ||
LABEL org.openbuildservice.disturl="%DISTURL%" | ||
LABEL com.suse.supportlevel="techpreview" | ||
LABEL com.suse.supportlevel.until="2026-12-31" | ||
LABEL com.suse.eula="sle-eula" | ||
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle#suse-linux-enterprise-server-15" | ||
LABEL com.suse.release-stage="released" | ||
# endlabelprefix | ||
LABEL org.opencontainers.image.base.name="%BASE_REFNAME%" | ||
LABEL org.opencontainers.image.base.digest="%BASE_DIGEST%" | ||
LABEL io.artifacthub.package.readme-url="%SOURCEURL%/README.openjdk11.md" | ||
LABEL io.artifacthub.package.logo-url="https://tomcat.apache.org/res/images/tomcat.png" | ||
ENV TOMCAT_MAJOR="9" | ||
ENV TOMCAT_VERSION="%%tomcat_version%%" | ||
ENV CATALINA_HOME="/usr/share/tomcat" | ||
ENV CATALINA_BASE="/usr/share/tomcat" | ||
ENV PATH="/usr/share/tomcat/bin:$PATH" | ||
|
||
CMD ["/usr/lib/tomcat/server", "start"] | ||
EXPOSE 8080/tcp | ||
RUN set -euo pipefail; mkdir -p /var/log/tomcat; chown --recursive tomcat:tomcat /var/log/tomcat | ||
RUN set -euo pipefail; ln -s /usr/share/tomcat /usr/local/tomcat | ||
RUN set -euo pipefail; \ | ||
sed -i /etc/tomcat/logging.properties \ | ||
-e 's|org\.apache\.catalina\.core\.ContainerBase\.\[Catalina\]\.\[localhost\]\.handlers =.*|org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = java.util.logging.ConsoleHandler|' \ | ||
-e 's|org\.apache\.catalina\.core\.ContainerBase\.\[Catalina\]\.\[localhost\]\.\[/manager\]\.handlers =.*|org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = java.util.logging.ConsoleHandler|' \ | ||
-e 's|org\.apache\.catalina\.core\.ContainerBase\.\[Catalina\]\.\[localhost\]\.\[/host-manager\]\.handlers =.*|org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = java.util.logging.ConsoleHandler|' | ||
|
||
WORKDIR $CATALINA_HOME | ||
USER tomcat |
Oops, something went wrong.