Skip to content

Commit

Permalink
Test build for #2210
Browse files Browse the repository at this point in the history
  • Loading branch information
SUSE Update Bot committed Jan 20, 2025
1 parent 48308c2 commit 88f5b2f
Show file tree
Hide file tree
Showing 24 changed files with 507 additions and 102 deletions.
21 changes: 21 additions & 0 deletions .obs/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ staging_build:
source_project: home:defolos:BCI:CR:SLE-15-SP7
source_package: dotnet-9.0
target_project: home:defolos:BCI:CR:SLE-15-SP7:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP7
source_package: firefox-image
target_project: home:defolos:BCI:CR:SLE-15-SP7:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP7
source_package: gcc-14-image
Expand Down Expand Up @@ -157,6 +161,10 @@ staging_build:
source_project: home:defolos:BCI:CR:SLE-15-SP7
source_package: prometheus-image
target_project: home:defolos:BCI:CR:SLE-15-SP7:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP7
source_package: pulseaudio-image
target_project: home:defolos:BCI:CR:SLE-15-SP7:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP7
source_package: python-3.11-image
Expand Down Expand Up @@ -209,6 +217,10 @@ staging_build:
source_project: home:defolos:BCI:CR:SLE-15-SP7
source_package: stunnel-image
target_project: home:defolos:BCI:CR:SLE-15-SP7:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP7
source_package: x11-image
target_project: home:defolos:BCI:CR:SLE-15-SP7:Staging
filters:
event: pull_request

Expand Down Expand Up @@ -262,6 +274,9 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:SLE-15-SP7
package: dotnet-9.0
- trigger_services:
project: devel:BCI:SLE-15-SP7
package: firefox-image
- trigger_services:
project: devel:BCI:SLE-15-SP7
package: gcc-14-image
Expand Down Expand Up @@ -343,6 +358,9 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:SLE-15-SP7
package: prometheus-image
- trigger_services:
project: devel:BCI:SLE-15-SP7
package: pulseaudio-image
- trigger_services:
project: devel:BCI:SLE-15-SP7
package: python-3.11-image
Expand Down Expand Up @@ -382,6 +400,9 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:SLE-15-SP7
package: stunnel-image
- trigger_services:
project: devel:BCI:SLE-15-SP7
package: x11-image
filters:
event: push
branches:
Expand Down
55 changes: 55 additions & 0 deletions firefox-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# SPDX-License-Identifier: MIT

# Copyright (c) 2025 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

#!BuildTag: bci/firefox:%%ff_ver%%-%RELEASE%
#!BuildTag: bci/firefox:%%ff_ver%%
#!BuildTag: bci/firefox:128.6
#!BuildName: bci-firefox-128.6
#!BuildVersion: 15.7.128.6
FROM bci/bci-base:15.7

RUN set -euo pipefail; \
zypper -n install --no-recommends MozillaFirefox MozillaFirefox-branding-SLE gconf2; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.bci.firefox
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
LABEL org.opencontainers.image.title="SLE BCI Mozilla Firefox"
LABEL org.opencontainers.image.description="Mozilla Firefox container based on the SLE Base Container Image."
LABEL org.opencontainers.image.version="%%ff_ver%%"
LABEL org.opencontainers.image.url="https://www.suse.com/products/base-container-images/"
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="%%ff_ver%%-%RELEASE%"
LABEL org.opensuse.reference="registry.suse.com/bci/firefox:%%ff_ver%%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.supportlevel="techpreview"
LABEL com.suse.eula="sle-bci"
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle#suse-linux-enterprise-server-15"
LABEL com.suse.release-stage="beta"
# endlabelprefix
LABEL io.artifacthub.package.readme-url="%SOURCEURL%/README.md"
CMD ["/bin/bash", "-c", "firefox --kiosk $URL"]
# sanity check that the version from the tag is equal to the version of MozillaFirefox that we expect
RUN set -euo pipefail; \
[ "$(rpm -q --qf '%{version}' MozillaFirefox | \
cut -d '.' -f -2)" = "128.6" ]
RUN useradd -m user -u 1000
ENV DISPLAY=":0"
17 changes: 17 additions & 0 deletions firefox-image/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# The SLE BCI Mozilla Firefox container image
![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)![Support Level](https://img.shields.io/badge/Support_Level-techpreview-blue)[![SLSA](https://img.shields.io/badge/SLSA_(v1.0)-Build_L3-Green)](https://documentation.suse.com/sbp/server-linux/html/SBP-SLSA4/)
[![Provenance: Available](https://img.shields.io/badge/Provenance-Available-Green)](https://documentation.suse.com/container/all/html/Container-guide/index.html#container-verify)

Mozilla Firefox container based on the SLE Base Container Image.

## Licensing

`SPDX-License-Identifier: MIT`

This documentation and the build recipe are licensed as MIT.
The container itself contains various software components under various open source licenses listed in the associated
Software Bill of Materials (SBOM).

This image is a tech preview. Do not use it for production.
Your feedback is welcome.
Please report any issues to the [SUSE Bugzilla](https://bugzilla.suse.com/enter_bug.cgi?product=SUSE%20Linux%20Enterprise%20Base%20Container%20Images).
10 changes: 10 additions & 0 deletions firefox-image/_service
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<services>
<service mode="buildtime" name="docker_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service mode="buildtime" name="replace_using_package_version">
<param name="file">Dockerfile</param>
<param name="regex">%%ff_ver%%</param>
<param name="package">MozillaFirefox</param>
<param name="parse-version">minor</param>
</service>
</services>
4 changes: 4 additions & 0 deletions firefox-image/firefox-image.changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon Jan 20 10:07:35 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>

- First version of the Mozilla Firefox BCI
56 changes: 56 additions & 0 deletions git-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# SPDX-License-Identifier: GPL-2.0-only

# Copyright (c) 2025 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

#!BuildTag: suse/git:%%git_version%%-%RELEASE%
#!BuildTag: suse/git:%%git_version%%
#!BuildTag: suse/git:2.43
#!BuildTag: suse/git:%%git_major_version%%
#!BuildName: suse-git-2.43
#!BuildVersion: 15.7.2.43
FROM bci/bci-micro:15.7 AS target
FROM suse/sle15:15.7 AS builder
COPY --from=target / /target

RUN set -euo pipefail; \
zypper -n --installroot /target --gpg-auto-import-keys install --no-recommends git-core openssh-clients; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
# sanity check that the version from the tag is equal to the version of git-core that we expect
RUN set -euo pipefail; \
[ "$(rpm --root /target -q --qf '%{version}' git-core | \
cut -d '.' -f -2)" = "2.43" ]
FROM bci/bci-micro:15.7
COPY --from=builder /target /
# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.application.git
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
LABEL org.opencontainers.image.title="SLE 15 SP7 with Git"
LABEL org.opencontainers.image.description="A micro environment with Git based on the SLE Base Container Image."
LABEL org.opencontainers.image.version="%%git_version%%"
LABEL org.opencontainers.image.url="https://www.suse.com/products/base-container-images/"
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="%%git_version%%-%RELEASE%"
LABEL org.opensuse.reference="registry.suse.com/suse/git:%%git_version%%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.supportlevel="techpreview"
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="beta"
# endlabelprefix
LABEL io.artifacthub.package.readme-url="%SOURCEURL%/README.md"
6 changes: 3 additions & 3 deletions git-image/_service
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<services>
<service mode="buildtime" name="kiwi_label_helper"/>
<service mode="buildtime" name="docker_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service mode="buildtime" name="replace_using_package_version">
<param name="file">git-image.kiwi</param>
<param name="file">Dockerfile</param>
<param name="regex">%%git_version%%</param>
<param name="package">git-core</param>
</service>
<service mode="buildtime" name="replace_using_package_version">
<param name="file">git-image.kiwi</param>
<param name="file">Dockerfile</param>
<param name="regex">%%git_major_version%%</param>
<param name="package">git-core</param>
<param name="parse-version">major</param>
Expand Down
31 changes: 0 additions & 31 deletions git-image/config.sh

This file was deleted.

68 changes: 0 additions & 68 deletions git-image/git-image.kiwi

This file was deleted.

55 changes: 55 additions & 0 deletions pulseaudio-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# SPDX-License-Identifier: MIT

# Copyright (c) 2025 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

#!BuildTag: suse/pulseaudio:%%pulseaudio_ver%%-%RELEASE%
#!BuildTag: suse/pulseaudio:%%pulseaudio_ver%%
#!BuildTag: suse/pulseaudio:17
#!BuildName: suse-pulseaudio-17
#!BuildVersion: 15.7.17
FROM suse/sle15:15.7

RUN set -euo pipefail; \
zypper -n install --no-recommends pulseaudio pulseaudio-utils; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.application.pulseaudio
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
LABEL org.opencontainers.image.title="SLE Pulseaudio"
LABEL org.opencontainers.image.description="Pulseaudio container based on the SLE Base Container Image."
LABEL org.opencontainers.image.version="%%pulseaudio_ver%%"
LABEL org.opencontainers.image.url="https://www.suse.com/products/base-container-images/"
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="%%pulseaudio_ver%%-%RELEASE%"
LABEL org.opensuse.reference="registry.suse.com/suse/pulseaudio:%%pulseaudio_ver%%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.supportlevel="techpreview"
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="beta"
# endlabelprefix
LABEL io.artifacthub.package.readme-url="%SOURCEURL%/README.md"
# sanity check that the version from the tag is equal to the version of pulseaudio that we expect
RUN set -euo pipefail; \
[ "$(rpm -q --qf '%{version}' pulseaudio | \
cut -d '.' -f -1)" = "17" ]
COPY daemon.conf /etc/pulse/
COPY client.conf /etc/pulse/
COPY system.pa /etc/pulse/
Loading

0 comments on commit 88f5b2f

Please sign in to comment.