From ef22f54257797d677bd6c52c2469ca040b3aaeadd43ffc6159c6d7e9f6b3214d Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Wed, 15 Mar 2023 15:06:48 +0000 Subject: [PATCH] Accepting request 1072115 from home:RBrownSUSE:containers Replacing distrbox-relmgt-image OBS-URL: https://build.opensuse.org/request/show/1072115 OBS-URL: https://build.opensuse.org/package/show/devel:microos:containers/distrobox-packaging-image?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++ .gitignore | 1 + Dockerfile | 42 +++++++++++++++++++++++++++++++ _service | 4 +++ distrobox-packaging-image.changes | 4 +++ 5 files changed, 74 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 _service create mode 100644 distrobox-packaging-image.changes 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..cb5ecdc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: MIT +#!BuildTag: opensuse/distrobox-packaging:latest +#!BuildTag: opensuse/distrobox-packaging:%OS_VERSION_ID% +#!BuildTag: opensuse/distrobox-packaging:%OS_VERSION_ID%.%RELEASE% + +#!ExclusiveArch: x86_64 + +FROM opensuse/distrobox:latest +LABEL maintainer="Richard Brown " + +# labelprefix=org.opensuse.distrobox-packaging +PREFIXEDLABEL org.opencontainers.image.title="Distrobox openSUSE Packaging container" +PREFIXEDLABEL org.opencontainers.image.description="Distrobox openSUSE Packaging container" +PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%" +PREFIXEDLABEL org.opencontainers.image.version="%OS_VERSION_ID%.%RELEASE%" +PREFIXEDLABEL org.opencontainers.image.vendor="openSUSE Project" +PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%" +PREFIXEDLABEL org.opensuse.reference="registry.opensuse.org/opensuse/distrobox-packaging:%OS_VERSION_ID%.%RELEASE%" + +# openSUSE-release included to ensure %OS_VERSION_ID% can be found/used by kiwi-metainfo-helper +RUN zypper --non-interactive install --no-recommends git \ + osc \ + build \ + vim \ + vim-data \ + scout-command-not-found \ + obs-service-download_files \ + obs-service-tar \ + obs-service-tar_scm \ + obs-service-obs_scm \ + obs-service-set_version \ + obs-service-recompress \ + obs-service-go_modules \ + obs-service-product_converter \ + obs-service-format_spec_file \ + osc-plugin-cycle \ + osc-plugin-origin \ + osc-plugin-staging \ + openSUSE-release-tools-pkglistgen \ + openSUSE-release-tools \ + openSUSE-release \ + && zypper clean diff --git a/_service b/_service new file mode 100644 index 0000000..d2ceefb --- /dev/null +++ b/_service @@ -0,0 +1,4 @@ + + + + diff --git a/distrobox-packaging-image.changes b/distrobox-packaging-image.changes new file mode 100644 index 0000000..5a5d807 --- /dev/null +++ b/distrobox-packaging-image.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Mar 15 13:55:22 UTC 2023 - Richard Brown + +- Initial container, based on the distrobox-images container