Skip to content

Commit 47a49ce

Browse files
authored
Merge pull request #3456 from SUSE/for-deploy-16.0
🤖: Update build recipes for 16.0
2 parents 529e98d + 2b371c5 commit 47a49ce

7 files changed

Lines changed: 151 additions & 1 deletion

File tree

.obs/workflows.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ staging_build:
105105
source_project: home:pushman:BCI:CR:16.0
106106
source_package: nodejs-22-image
107107
target_project: home:pushman:BCI:CR:16.0:Staging
108+
- branch_package:
109+
source_project: home:pushman:BCI:CR:16.0
110+
source_package: nodejs-24-image
111+
target_project: home:pushman:BCI:CR:16.0:Staging
108112
- branch_package:
109113
source_project: home:pushman:BCI:CR:16.0
110114
source_package: openjdk-17-devel-image
@@ -284,6 +288,9 @@ refresh_devel_BCI:
284288
- trigger_services:
285289
project: devel:BCI:16.0
286290
package: nodejs-22-image
291+
- trigger_services:
292+
project: devel:BCI:16.0
293+
package: nodejs-24-image
287294
- trigger_services:
288295
project: devel:BCI:16.0
289296
package: openjdk-17-devel-image

nodejs-22-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ LABEL org.opencontainers.image.ref.name="%%nodejs_version%%-%RELEASE%"
5454
LABEL org.opensuse.reference="registry.suse.com/bci/nodejs:%%nodejs_version%%-%RELEASE%"
5555
LABEL org.openbuildservice.disturl="%DISTURL%"
5656
LABEL com.suse.supportlevel="l3"
57-
LABEL com.suse.supportlevel.until="2027-04-30"
57+
LABEL com.suse.supportlevel.until="2027-11-30"
5858
LABEL com.suse.eula="sle-bci"
5959
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle#suse-linux-enterprise-server-16"
6060
LABEL com.suse.release-stage="released"

nodejs-22-image/nodejs-22-image.changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-------------------------------------------------------------------
2+
Tue Feb 17 09:24:03 UTC 2026 - SUSE Update Bot <bci-internal@suse.de>
3+
4+
- adjust support end date
5+
16
-------------------------------------------------------------------
27
Thu Jan 1 14:16:04 UTC 2026 - SUSE Update Bot <bci-internal@suse.de>
38

nodejs-24-image/Dockerfile

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# SPDX-License-Identifier: MIT
2+
3+
# Copyright (c) 2026 SUSE LLC
4+
5+
# All modifications and additions to the file contributed by third parties
6+
# remain the property of their copyright owners, unless otherwise agreed
7+
# upon.
8+
9+
# The content of THIS FILE IS AUTOGENERATED and should not be manually modified.
10+
# It is maintained by the BCI team and generated by
11+
# https://github.com/SUSE/BCI-dockerfile-generator
12+
13+
# Please submit bugfixes or comments via https://bugs.opensuse.org/
14+
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
15+
16+
#!UseOBSRepositories
17+
18+
#!BuildTag: bci/nodejs:%%nodejs_version%%-%RELEASE%
19+
#!BuildTag: bci/nodejs:%%nodejs_version%%
20+
#!BuildTag: bci/nodejs:24
21+
#!BuildTag: bci/node:%%nodejs_version%%-%RELEASE%
22+
#!BuildTag: bci/node:%%nodejs_version%%
23+
#!BuildTag: bci/node:24
24+
#!BuildName: bci-nodejs-24
25+
#!BuildVersion: 16.0.24
26+
FROM registry.suse.com/bci/bci-base:16.0
27+
28+
RUN set -euo pipefail; \
29+
zypper -n install --no-recommends nodejs24 npm24 update-alternatives curl findutils gawk git-core procps util-linux
30+
31+
# cleanup logs and temporary files
32+
RUN set -euo pipefail; zypper -n clean -a; \
33+
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}; \
34+
rm -rf {/target,}/run/*; \
35+
rm -f {/target,}/etc/{shadow-,group-,passwd-,.pwd.lock}; \
36+
rm -f {/target,}/usr/lib/sysimage/rpm/.rpm.lock; \
37+
rm -f {/target,}/var/cache/ldconfig/aux-cache; \
38+
command -v zypper >/dev/null 2>&1 || rm -f /var/lib/zypp/AutoInstalled
39+
40+
# set the day of last password change to empty
41+
RUN set -euo pipefail; sed -i 's/^\([^:]*:[^:]*:\)[^:]*\(:.*\)$/\1\2/' /etc/shadow
42+
43+
# Define labels according to https://en.opensuse.org/Building_derived_containers
44+
# labelprefix=com.suse.bci.nodejs
45+
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
46+
LABEL org.opencontainers.image.title="SUSE Linux BCI Node.js 24 development"
47+
LABEL org.opencontainers.image.description="Node.js 24 development container based on the SUSE Linux Base Container Image."
48+
LABEL org.opencontainers.image.version="%%nodejs_version%%"
49+
LABEL org.opencontainers.image.url="https://www.suse.com/products/base-container-images/"
50+
LABEL org.opencontainers.image.created="%BUILDTIME%"
51+
LABEL org.opencontainers.image.vendor="SUSE LLC"
52+
LABEL org.opencontainers.image.source="%SOURCEURL%"
53+
LABEL org.opencontainers.image.ref.name="%%nodejs_version%%-%RELEASE%"
54+
LABEL org.opensuse.reference="registry.suse.com/bci/nodejs:%%nodejs_version%%-%RELEASE%"
55+
LABEL org.openbuildservice.disturl="%DISTURL%"
56+
LABEL com.suse.supportlevel="l3"
57+
LABEL com.suse.supportlevel.until="2028-11-30"
58+
LABEL com.suse.eula="sle-bci"
59+
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle#suse-linux-enterprise-server-16"
60+
LABEL com.suse.release-stage="released"
61+
# endlabelprefix
62+
LABEL org.opencontainers.image.base.name="%BASE_REFNAME%"
63+
LABEL org.opencontainers.image.base.digest="%BASE_DIGEST%"
64+
LABEL io.artifacthub.package.readme-url="%SOURCEURL_WITH(README.md)%"
65+
ENV NODE_VERSION="24"

nodejs-24-image/README.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Node.js 24 development container image
2+
3+
![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)
4+
[![SLSA](https://img.shields.io/badge/SLSA_(v0.1)-Level_4-Green)](https://documentation.suse.com/sbp/security/html/SBP-SLSA4/)
5+
[![Provenance: Available](https://img.shields.io/badge/Provenance-Available-Green)](https://documentation.suse.com/container/all/html/Container-guide/index.html#container-verify)
6+
7+
## Description
8+
9+
[Node.js](https://nodejs.org/) is a free, open source, cross-platform JavaScript run-time environment that lets developers write server-side applications and tools outside of a browser.
10+
11+
## Usage
12+
13+
To deploy an application, install dependencies, copy the sources, and configure the application's main script:
14+
15+
```Dockerfile
16+
FROM registry.suse.com/bci/nodejs:24
17+
18+
WORKDIR /app
19+
20+
COPY package.json package-lock.json ./
21+
RUN npm install
22+
23+
COPY . .
24+
25+
EXPOSE 3000
26+
27+
CMD [ "node", "./server.js" ]
28+
```
29+
30+
Build and run the container image:
31+
32+
```ShellSession
33+
$ podman build -t my-node-app .
34+
$ podman run -it -p 3000:3000 --rm my-node-app
35+
```
36+
37+
The example above assumes that there is a `package-lock.lock` file in the application directory.
38+
To generate a `package-lock.lock` file, use the following command:
39+
40+
```ShellSession
41+
$ podman run --rm -v "$PWD":/app:Z -w /app registry.suse.com/bci/nodejs:24 npm install --package-lock-only
42+
```
43+
44+
To run a single script inside a container, use the following command:
45+
46+
```ShellSession
47+
$ podman run --rm -v "$PWD":/app:Z -w /app registry.suse.com/bci/nodejs:24 node script.js
48+
```
49+
50+
## Licensing
51+
52+
`SPDX-License-Identifier: MIT`
53+
54+
This documentation and the build recipe are licensed as MIT.
55+
The container itself contains various software components under various open source licenses listed in the associated
56+
Software Bill of Materials (SBOM).
57+
58+
This image is based on [SLE BCI](https://opensource.suse.com/bci/), a stable and redistributable foundation for software innovation. SLE BCI is enterprise-ready, and it comes with an option for support.
59+
60+
See the [SLE BCI EULA](https://www.suse.com/licensing/eula/#bci) for further information.

nodejs-24-image/_service

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<services>
2+
<service mode="buildtime" name="docker_label_helper"/>
3+
<service mode="buildtime" name="kiwi_metainfo_helper"/>
4+
<service mode="buildtime" name="replace_using_package_version">
5+
<param name="file">Dockerfile</param>
6+
<param name="regex">%%nodejs_version%%</param>
7+
<param name="package">nodejs24</param>
8+
</service>
9+
</services>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-------------------------------------------------------------------
2+
Mon Feb 16 22:37:44 UTC 2026 - SUSE Update Bot <bci-internal@suse.de>
3+
4+
- First version of the Node.js 24 development BCI

0 commit comments

Comments
 (0)