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 Feb 12, 2025
1 parent 48ca93e commit f2821b9
Show file tree
Hide file tree
Showing 20 changed files with 430 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 @@ -45,6 +45,10 @@ staging_build:
source_project: home:defolos:BCI:CR:Tumbleweed
source_package: cosign-image
target_project: home:defolos:BCI:CR:Tumbleweed:Staging
- branch_package:
source_project: home:defolos:BCI:CR:Tumbleweed
source_package: firefox-image
target_project: home:defolos:BCI:CR:Tumbleweed:Staging
- branch_package:
source_project: home:defolos:BCI:CR:Tumbleweed
source_package: gcc-12-image
Expand Down Expand Up @@ -213,6 +217,10 @@ staging_build:
source_project: home:defolos:BCI:CR:Tumbleweed
source_package: prometheus-image
target_project: home:defolos:BCI:CR:Tumbleweed:Staging
- branch_package:
source_project: home:defolos:BCI:CR:Tumbleweed
source_package: pulseaudio-image
target_project: home:defolos:BCI:CR:Tumbleweed:Staging
- branch_package:
source_project: home:defolos:BCI:CR:Tumbleweed
source_package: python-3.11-image
Expand Down Expand Up @@ -261,6 +269,10 @@ staging_build:
source_project: home:defolos:BCI:CR:Tumbleweed
source_package: valkey-image
target_project: home:defolos:BCI:CR:Tumbleweed:Staging
- branch_package:
source_project: home:defolos:BCI:CR:Tumbleweed
source_package: x11-image
target_project: home:defolos:BCI:CR:Tumbleweed:Staging
filters:
event: pull_request

Expand Down Expand Up @@ -311,6 +323,9 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:Tumbleweed
package: cosign-image
- trigger_services:
project: devel:BCI:Tumbleweed
package: firefox-image
- trigger_services:
project: devel:BCI:Tumbleweed
package: gcc-12-image
Expand Down Expand Up @@ -437,6 +452,9 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:Tumbleweed
package: prometheus-image
- trigger_services:
project: devel:BCI:Tumbleweed
package: pulseaudio-image
- trigger_services:
project: devel:BCI:Tumbleweed
package: python-3.11-image
Expand Down Expand Up @@ -473,6 +491,9 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:Tumbleweed
package: valkey-image
- trigger_services:
project: devel:BCI:Tumbleweed
package: x11-image
filters:
event: push
branches:
Expand Down
52 changes: 52 additions & 0 deletions firefox-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# 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: opensuse/bci/firefox:%%ff_ver%%-%RELEASE%
#!BuildTag: opensuse/bci/firefox:%%ff_ver%%
#!BuildTag: opensuse/bci/firefox:135.0
#!BuildTag: opensuse/bci/firefox:latest

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; \
zypper -n install --no-recommends MozillaFirefox MozillaFirefox-branding-openSUSE; \
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=org.opensuse.bci.firefox
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Mozilla Firefox"
LABEL org.opencontainers.image.description="Mozilla Firefox container based on the openSUSE Tumbleweed Base Container Image."
LABEL org.opencontainers.image.version="%%ff_ver%%"
LABEL org.opencontainers.image.url="https://www.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="openSUSE Project"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opencontainers.image.ref.name="%%ff_ver%%-%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/firefox:%%ff_ver%%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI"
LABEL org.opensuse.release-stage="released"
# endlabelprefix
LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/firefox-image/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)" = "135.0" ]
RUN useradd -m user -u 1000
ENV DISPLAY=":0"
14 changes: 14 additions & 0 deletions firefox-image/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# The openSUSE Tumbleweed BCI Mozilla Firefox container image
![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)

Mozilla Firefox container based on the openSUSE Tumbleweed 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 based on [openSUSE Tumbleweed](https://get.opensuse.org/tumbleweed/).
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 @@
-------------------------------------------------------------------
Wed Feb 12 10:31:39 UTC 2025 - SUSE Update Bot <[email protected]>

- First version of the Mozilla Firefox BCI
52 changes: 52 additions & 0 deletions pulseaudio-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# 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: opensuse/pulseaudio:%%pulseaudio_ver%%-%RELEASE%
#!BuildTag: opensuse/pulseaudio:%%pulseaudio_ver%%
#!BuildTag: opensuse/pulseaudio:17
#!BuildTag: opensuse/pulseaudio:latest

FROM opensuse/tumbleweed:latest

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=org.opensuse.application.pulseaudio
LABEL org.opencontainers.image.title="openSUSE Tumbleweed Pulseaudio"
LABEL org.opencontainers.image.description="Pulseaudio container based on the openSUSE Tumbleweed Base Container Image."
LABEL org.opencontainers.image.version="%%pulseaudio_ver%%"
LABEL org.opencontainers.image.url="https://www.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="openSUSE Project"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opencontainers.image.ref.name="%%pulseaudio_ver%%-%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/pulseaudio:%%pulseaudio_ver%%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI"
LABEL org.opensuse.release-stage="released"
# endlabelprefix
LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/pulseaudio-image/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/
14 changes: 14 additions & 0 deletions pulseaudio-image/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# The openSUSE Tumbleweed Pulseaudio container image
![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)

Pulseaudio container based on the openSUSE Tumbleweed 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 based on [openSUSE Tumbleweed](https://get.opensuse.org/tumbleweed/).
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 @@
-------------------------------------------------------------------
Wed Feb 12 10:31:40 UTC 2025 - SUSE Update Bot <[email protected]>

- First version of the Pulseaudio 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
60 changes: 60 additions & 0 deletions x11-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# 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: opensuse/bci/x11:%%xorg_server_ver%%-%RELEASE%
#!BuildTag: opensuse/bci/x11:%%xorg_server_ver%%
#!BuildTag: opensuse/bci/x11:21
#!BuildTag: opensuse/bci/x11:notaskbar
#!BuildTag: opensuse/bci/x11:latest

FROM opensuse/tumbleweed:latest

RUN set -euo pipefail; \
zypper -n install --no-recommends hostname which xinit xhost xorg-x11 xorg-x11-server xrandr icewm-lite xf86-input-evdev xf86-input-libinput xkeyboard-config xinput xorg-x11-fonts xorg-x11-essentials xdm sysvinit-tools xsession; \
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=org.opensuse.bci.x11
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI X11 Server"
LABEL org.opencontainers.image.description="X11 Server container based on the openSUSE Tumbleweed Base Container Image."
LABEL org.opencontainers.image.version="%%xorg_server_ver%%"
LABEL org.opencontainers.image.url="https://www.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="openSUSE Project"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opencontainers.image.ref.name="%%xorg_server_ver%%-%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/x11:%%xorg_server_ver%%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI"
LABEL org.opensuse.release-stage="released"
# endlabelprefix
LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/x11-image/README.md"
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
# 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
COPY preferences /etc/icewm/preferences
COPY xinitrc /etc/X11/xinit/xinitrc
COPY xorg.conf /etc/X11/xorg.conf.d/xorg.conf

ENV XDG_SESSION_TYPE=x11

COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
14 changes: 14 additions & 0 deletions x11-image/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# The openSUSE Tumbleweed BCI X11 Server container image
![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)

X11 Server container based on the openSUSE Tumbleweed 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 based on [openSUSE Tumbleweed](https://get.opensuse.org/tumbleweed/).
10 changes: 10 additions & 0 deletions x11-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>
Loading

0 comments on commit f2821b9

Please sign in to comment.