commit 4aaf6a567ac3f18969c2af47e4aee68ddd6a7d57fd64307e4b513cd9a13174a1 Author: Dan Čermák Date: Wed Apr 27 12:17:47 2022 +0000 First version of BCI based on Tumbleweed OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/init-image?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..cdb6fef --- /dev/null +++ b/Dockerfile @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: MIT +#!BuildTag: bci/bci-init:%OS_VERSION_ID_SP% +#!BuildTag: bci/bci-init:%OS_VERSION_ID_SP%.%RELEASE% +FROM opensuse/tumbleweed:latest + +MAINTAINER SUSE LLC (https://www.suse.com/) + +# Define labels according to https://en.opensuse.org/Building_derived_containers +# labelprefix=com.suse.bci.init +LABEL org.opencontainers.image.title="SLE BCI Init Container Image" +LABEL org.opencontainers.image.description="Systemd environment for containers based on the SLE Base Container Image. This container is not supported when using container runtime other than podman." +LABEL org.opencontainers.image.version="%OS_VERSION_ID_SP%.%RELEASE%" +LABEL org.opencontainers.image.url="https://www.suse.com/products/server/" +LABEL org.opencontainers.image.created="%BUILDTIME%" +LABEL org.opencontainers.image.vendor="SUSE LLC" +LABEL org.opensuse.reference="registry.suse.com/bci/bci-init:%OS_VERSION_ID_SP%.%RELEASE%" +LABEL org.openbuildservice.disturl="%DISTURL%" +LABEL com.suse.supportlevel="techpreview" +LABEL com.suse.eula="sle-bci" +LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle" +LABEL com.suse.image-type="sle-bci" +LABEL com.suse.release-stage="beta" +# endlabelprefix +LABEL usage="This container should only be used to build containers for daemons. Add your packages and enable services using systemctl." + +RUN set -euo pipefail && zypper -n in --no-recommends systemd gzip && zypper -n clean && rm -rf /var/log/* + + + +CMD ["/usr/lib/systemd/systemd"] diff --git a/_service b/_service new file mode 100644 index 0000000..52b4539 --- /dev/null +++ b/_service @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/init-image.changes b/init-image.changes new file mode 100644 index 0000000..473a0f4