Get Image
SUSE Linux BCI 16.1 Nano: Suitable for deploying static binaries
Description
The bci-nano image is providing timezone and TLS trusted CA certificates,
but no shell or glibc. This means that the image is smaller than bci-micro.
The primary use case for the image is deploying static binaries produced
externally or during multi-stage builds which do not require any shell
environment.
Usage
As there is no straightforward way to install additional
dependencies inside the container image, we recommend deploying a project
using the bci-nano image only when the final build artifact bundles all
dependencies and needs no further installation of packages.
Example using a Go application:
FROM registry.suse.com/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.suse.com/bci/bci-nano: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 a tech preview. Do not use it for production. Your feedback is welcome. Please report any issues to the SUSE Bugzilla.
-
Image Data
Last Built: 28 Sep 13:05 UTC
Compressed Size: 1.2 MB
Uncompressed Size: 5.4 MB
Support Level: Techpreview
Supported until: 30 Nov 2028
Release Stage: beta
-
-
Health Index
ANo vulnerabilities found
Last Scan:
3 days ago