Go to file
2024-10-30 15:39:57 +00:00
_service [info=be27e2f798257ef043251dc8a6494444] 2024-09-13 13:55:31 +00:00
.gitattributes [info=be27e2f798257ef043251dc8a6494444] 2024-09-13 13:55:31 +00:00
.gitignore [info=be27e2f798257ef043251dc8a6494444] 2024-09-13 13:55:31 +00:00
config.sh [info=9b231124b160b7e8711d75c2b4fc7980] 2024-09-25 17:17:50 +00:00
micro-image.changes [info=3fc01187cf5ec563c720c02bdd77c84e] 2024-10-30 15:39:57 +00:00
micro-image.kiwi [info=3fc01187cf5ec563c720c02bdd77c84e] 2024-10-30 15:39:57 +00:00
README.md [info=f361f2c2818ad3da47911f49ca5ea746] 2024-09-28 08:19:12 +00:00

openSUSE Tumbleweed BCI Micro: Suitable for deploying static binaries

Redistributable

Description

The bci-micro image includes the RPM database, but not the RPM package manager. This means that the image is smaller than bci-minimal. The primary use case for the image is deploying static binaries produced externally or during multi-stage builds.

Usage

As there is no straightforward way to install additional dependencies inside the container image, we recommend deploying a project using the bci-micro image only when the final build artifact bundles all dependencies and needs no further installation of packages.

Example using a Go application:

FROM registry.opensuse.org/opensuse/bci/golang:stable as build

WORKDIR /app

RUN go install github.com/go-training/helloworld@latest

# Create an image to bundle the app
FROM registry.opensuse.org/opensuse/bci/bci-micro:latest

COPY --from=build /go/bin/helloworld /usr/local/bin/helloworld

CMD ["/usr/local/bin/helloworld"]

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.