Skip to content

Commit

Permalink
Merge pull request #967 from SUSE/for-deploy-6
Browse files Browse the repository at this point in the history
🤖: Update build recipes for SP6
  • Loading branch information
dirkmueller authored Mar 22, 2024
2 parents 7ca6515 + 4d6e7bf commit c14d346
Show file tree
Hide file tree
Showing 15 changed files with 95 additions and 8 deletions.
7 changes: 5 additions & 2 deletions busybox-image/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# The SLE BCI 15 SP6 BusyBox Container image
# SLE BCI-BusyBox: the smallest and GPLv3-free image

15 SP6 BusyBox container based on the SLE Base Container Image.
The SLE BCI-BusyBox image comes with the most basic tools provided by the BusyBox project. The image contains no GPLv3 licensed software. When using the image, keep in mind that there are differences between the BusyBox tools and the GNU Coreutils. This means that scripts written for a system that uses GNU Coreutils may require modification to work with BusyBox.

## License
SPDX-License-Identifier: MIT
5 changes: 5 additions & 0 deletions busybox-image/busybox-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 22 17:21:10 UTC 2024 - Dirk Mueller <[email protected]>

- add readme and logo urls

-------------------------------------------------------------------
Sat Feb 3 10:25:19 UTC 2024 - Dirk Mueller <[email protected]>

Expand Down
1 change: 1 addition & 0 deletions busybox-image/busybox-image.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ You can contact the BCI team via https://github.com/SUSE/bci/discussions
<label name="org.opencontainers.image.source" value="%SOURCEURL%"/>
<label name="org.opencontainers.image.url" value="https://www.suse.com/products/base-container-images/"/>
<label name="io.artifacthub.package.readme-url" value="%SOURCEURL%/README.md"/>
<label name="io.artifacthub.package.logo-url" value="https://opensource.suse.com/bci/SLE_BCI_logomark_green.svg"/>
<label name="org.opensuse.reference" value="registry.suse.com/bci/bci-busybox:%OS_VERSION_ID_SP%.%RELEASE%"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
<label name="com.suse.supportlevel" value="l3"/>
Expand Down
41 changes: 39 additions & 2 deletions distribution-image/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
# The SLE OCI Container Registry (Distribution) Container image
# The SLE BCI Distribution Image

OCI Container Registry (Distribution) container based on the SLE Base Container Image.
This container image allows to run a local OCI registry. Before you start the container,
you need to create a `config.yml` with the following content:

```yaml
---
version: 0.1
log:
level: info
storage:
filesystem:
rootdirectory: /var/lib/docker-registry
http:
addr: 0.0.0.0:5000
```
You can also create an empty directory for storing the images outside the container:
```bash
mkdir -p /var/lib/docker-registry
```

Then you can start the container with the following command:

```bash
podman run -d --restart=always -p 5000:5000 -v /path/to/config.yml:/etc/docker/registry/config.yml \
-v /var/lib/docker-registry:/var/lib/docker-registry --name registry registry.suse.com/suse/registry:%%registry_version%%-%RELEASE%
```

The registry is available at `http://localhost:5000`. To keep the registry running after a reboot, create a systemd service as follows:

```bash
sudo podman generate systemd registry > /etc/systemd/system/registry.service
sudo systemctl enable --now registry
```


## License
SPDX-License-Identifier: Apache-2.0
5 changes: 5 additions & 0 deletions distribution-image/distribution-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 22 17:21:10 UTC 2024 - Dirk Mueller <[email protected]>

- add readme and logo urls

-------------------------------------------------------------------
Sat Feb 3 10:25:19 UTC 2024 - Dirk Mueller <[email protected]>

Expand Down
1 change: 1 addition & 0 deletions init-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="SUSE LLC"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL io.artifacthub.package.readme-url="%SOURCEURL%/README.md"
LABEL io.artifacthub.package.logo-url="https://opensource.suse.com/bci/SLE_BCI_logomark_green.svg"
LABEL org.opensuse.reference="registry.suse.com/bci/bci-init:%OS_VERSION_ID_SP%.%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.supportlevel="l3"
Expand Down
5 changes: 5 additions & 0 deletions init-image/init-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 22 17:21:10 UTC 2024 - Dirk Mueller <[email protected]>

- add readme and logo urls

-------------------------------------------------------------------
Sat Feb 3 10:25:19 UTC 2024 - Dirk Mueller <[email protected]>

Expand Down
13 changes: 11 additions & 2 deletions micro-image/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# The SLE BCI 15 SP6 Micro Container image
# SLE BCI-Micro: Suitable for deploying static binaries

A micro environment for containers based on the SLE Base Container Image.
This image is similar to SLE BCI-Minimal but without the RPM package manager.
The primary use case for the image is deploying static binaries produced
externally or during multi-stage builds. As there is no straightforward
way to install additional dependencies inside the container image,
we recommend deploying a project using the SLE BCI-Minimal image only
when the final build artifact bundles all dependencies and has no
external runtime requirements (like Python or Ruby).

## License
SPDX-License-Identifier: MIT
5 changes: 5 additions & 0 deletions micro-image/micro-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 22 17:21:10 UTC 2024 - Dirk Mueller <[email protected]>

- add readme and logo urls

-------------------------------------------------------------------
Sat Feb 3 10:25:19 UTC 2024 - Dirk Mueller <[email protected]>

Expand Down
1 change: 1 addition & 0 deletions micro-image/micro-image.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ You can contact the BCI team via https://github.com/SUSE/bci/discussions
<label name="org.opencontainers.image.source" value="%SOURCEURL%"/>
<label name="org.opencontainers.image.url" value="https://www.suse.com/products/base-container-images/"/>
<label name="io.artifacthub.package.readme-url" value="%SOURCEURL%/README.md"/>
<label name="io.artifacthub.package.logo-url" value="https://opensource.suse.com/bci/SLE_BCI_logomark_green.svg"/>
<label name="org.opensuse.reference" value="registry.suse.com/bci/bci-micro:%OS_VERSION_ID_SP%.%RELEASE%"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
<label name="com.suse.supportlevel" value="l3"/>
Expand Down
7 changes: 5 additions & 2 deletions minimal-image/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# The SLE BCI 15 SP6 Minimal Container image
# SLE BCI-Minimal: Container image without Zypper

15 SP6 Minimal container based on the SLE Base Container Image.
SLE BCI-Minimal comes without Zypper, but it does have the RPM package manager installed. While RPM can install and remove packages, it lacks support for repositories and automated dependency resolution. The SLE BCI-Minimal image is therefore intended for creating deployment containers, and then installing the desired RPM packages inside the containers. While you can install the required dependencies, you need to download and resolve them manually. However, this approach is not recommended as it is prone to errors.

## License
SPDX-License-Identifier: MIT
5 changes: 5 additions & 0 deletions minimal-image/minimal-image.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 22 17:21:10 UTC 2024 - Dirk Mueller <[email protected]>

- add readme and logo urls

-------------------------------------------------------------------
Sat Feb 3 10:25:19 UTC 2024 - Dirk Mueller <[email protected]>

Expand Down
1 change: 1 addition & 0 deletions minimal-image/minimal-image.kiwi
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ You can contact the BCI team via https://github.com/SUSE/bci/discussions
<label name="org.opencontainers.image.source" value="%SOURCEURL%"/>
<label name="org.opencontainers.image.url" value="https://www.suse.com/products/base-container-images/"/>
<label name="io.artifacthub.package.readme-url" value="%SOURCEURL%/README.md"/>
<label name="io.artifacthub.package.logo-url" value="https://opensource.suse.com/bci/SLE_BCI_logomark_green.svg"/>
<label name="org.opensuse.reference" value="registry.suse.com/bci/bci-minimal:%OS_VERSION_ID_SP%.%RELEASE%"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
<label name="com.suse.supportlevel" value="l3"/>
Expand Down
1 change: 1 addition & 0 deletions sle15-kernel-module-devel-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="SUSE LLC"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL io.artifacthub.package.readme-url="%SOURCEURL%/README.md"
LABEL io.artifacthub.package.logo-url="https://opensource.suse.com/bci/SLE_BCI_logomark_green.svg"
LABEL org.opensuse.reference="registry.suse.com/bci/bci-sle15-kernel-module-devel:%OS_VERSION_ID_SP%.%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.supportlevel="techpreview"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 22 17:21:10 UTC 2024 - Dirk Mueller <[email protected]>

- add readme and logo urls

-------------------------------------------------------------------
Thu Mar 7 16:23:37 UTC 2024 - Dan Čermák <[email protected]>

Expand Down

0 comments on commit c14d346

Please sign in to comment.