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 17, 2025
1 parent 128b6c0 commit 5197dc9
Show file tree
Hide file tree
Showing 16 changed files with 335 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .obs/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ staging_build:
source_project: home:defolos:BCI:CR:SLE-15-SP6
source_package: 389-ds-container
target_project: home:defolos:BCI:CR:SLE-15-SP6:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP6
source_package: Firefox-image
target_project: home:defolos:BCI:CR:SLE-15-SP6:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP6
source_package: alertmanager-image
Expand Down Expand Up @@ -181,6 +185,10 @@ staging_build:
source_project: home:defolos:BCI:CR:SLE-15-SP6
source_package: prometheus-image
target_project: home:defolos:BCI:CR:SLE-15-SP6:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP6
source_package: pulseaudio-image
target_project: home:defolos:BCI:CR:SLE-15-SP6:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP6
source_package: python-3.11-image
Expand Down Expand Up @@ -249,6 +257,10 @@ staging_build:
source_project: home:defolos:BCI:CR:SLE-15-SP6
source_package: stunnel-image
target_project: home:defolos:BCI:CR:SLE-15-SP6:Staging
- branch_package:
source_project: home:defolos:BCI:CR:SLE-15-SP6
source_package: x11app-base-image
target_project: home:defolos:BCI:CR:SLE-15-SP6:Staging
filters:
event: pull_request

Expand All @@ -269,6 +281,9 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:SLE-15-SP6
package: 389-ds-container
- trigger_services:
project: devel:BCI:SLE-15-SP6
package: Firefox-image
- trigger_services:
project: devel:BCI:SLE-15-SP6
package: alertmanager-image
Expand Down Expand Up @@ -401,6 +416,9 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:SLE-15-SP6
package: prometheus-image
- trigger_services:
project: devel:BCI:SLE-15-SP6
package: pulseaudio-image
- trigger_services:
project: devel:BCI:SLE-15-SP6
package: python-3.11-image
Expand Down Expand Up @@ -452,6 +470,9 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:SLE-15-SP6
package: stunnel-image
- trigger_services:
project: devel:BCI:SLE-15-SP6
package: x11app-base-image
filters:
event: push
branches:
Expand Down
58 changes: 58 additions & 0 deletions Firefox-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# 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
#!BuildTag: bci/Firefox:latest
#!BuildName: bci-Firefox-128.6
#!BuildVersion: 15.6.128.6
FROM registry.suse.com/bci/bci-base:15.6

RUN set -euo pipefail; \
zypper -n install --no-recommends MozillaFirefox MozillaFirefox-branding-SLE; \
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="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.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"
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 @@
-------------------------------------------------------------------
Fri Jan 17 14:13:35 UTC 2025 - SUSE Update Bot <[email protected]>

- First version of the Mozilla Firefox 128.6 BCI
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>
59 changes: 59 additions & 0 deletions pulseaudio-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# 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
#!BuildTag: suse/pulseaudio:latest
#!BuildName: suse-pulseaudio-17
#!BuildVersion: 15.6.17
#!BuildRelease: 35
FROM registry.suse.com/bci/bci-base:15.6

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="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.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/
17 changes: 17 additions & 0 deletions pulseaudio-image/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# The SLE Pulseaudio container image
![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)

Pulseaudio 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 pulseaudio-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">%%pulseaudio_ver%%</param>
<param name="package">pulseaudio</param>
<param name="parse-version">minor</param>
</service>
</services>
2 changes: 2 additions & 0 deletions pulseaudio-image/client.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
autospawn = no
auto-connect-localhost = yes
6 changes: 6 additions & 0 deletions pulseaudio-image/daemon.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
daemonize = no
fail = no
; allow-module-loading = yes
allow-exit = no
use-pid-file = no
system-instance = yes
4 changes: 4 additions & 0 deletions pulseaudio-image/pulseaudio-image.changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Jan 17 14:13:36 UTC 2025 - SUSE Update Bot <[email protected]>

- First version of the Pulseaudio 17 BCI
39 changes: 39 additions & 0 deletions pulseaudio-image/system.pa
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/pulseaudio -nF
.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

load-module module-udev-detect

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix auth-anonymous=1

load-module module-native-protocol-tcp auth-anonymous=1 auth-ip-acl=127.0.0.1

load-module module-default-device-restore

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### Enable positioned event sounds
load-module module-position-event-sounds

.nofail

### Set the default sink
#set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo

### Set default sink volume to 100%
set-sink-volume @DEFAULT_SINK@ 0x10000

### Unmute default sink
set-sink-mute @DEFAULT_SINK@ 0
57 changes: 57 additions & 0 deletions x11app-base-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# 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/x11app-base:%%xorg_server_ver%%-%RELEASE%
#!BuildTag: bci/x11app-base:%%xorg_server_ver%%
#!BuildTag: bci/x11app-base:21
#!BuildTag: bci/x11app-base:latest
#!BuildName: bci-x11app-base-21
#!BuildVersion: 15.6.21
FROM registry.suse.com/bci/bci-base:15.6

RUN set -euo pipefail; \
zypper -n install --no-recommends xorg-x11-fonts libX11-xcb1 libgtk-3-0 libpulse0 libasound2 mozilla-nss libxshmfence1 libdrm libgdm1 npm-default nodejs-default; \
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.x11app-base
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
LABEL org.opencontainers.image.title="SLE BCI X11 App Base Development"
LABEL org.opencontainers.image.description="X11 App Base Development container based on the SLE Base Container Image."
LABEL org.opencontainers.image.version="%%xorg_server_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="%%xorg_server_ver%%-%RELEASE%"
LABEL org.opensuse.reference="registry.suse.com/bci/x11app-base:%%xorg_server_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="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.md"
# sanity check that the version from the tag is equal to the version of xorg-x11-server that we expect
RUN set -euo pipefail; \
[ "$(rpm -q --qf '%{version}' xorg-x11-server | \
cut -d '.' -f -1)" = "21" ]
RUN useradd -m user -u 1000
ENV DISPLAY=":0"
17 changes: 17 additions & 0 deletions x11app-base-image/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# The SLE BCI X11 App Base Development 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)

X11 App Base Development 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 x11app-base-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">%%xorg_server_ver%%</param>
<param name="package">xorg-x11-server</param>
<param name="parse-version">minor</param>
</service>
</services>
4 changes: 4 additions & 0 deletions x11app-base-image/x11app-base-image.changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Jan 17 14:13:36 UTC 2025 - SUSE Update Bot <[email protected]>

- First version of the X11 App Base Development 21 BCI

0 comments on commit 5197dc9

Please sign in to comment.