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
This commit is contained in:
Richard Brown 2023-03-15 15:06:48 +00:00 committed by Git OBS Bridge
commit ef22f54257
5 changed files with 74 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

42
Dockerfile Normal file
View File

@ -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 <rbrownsuse@opensuse.org>"
# 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

4
_service Normal file
View File

@ -0,0 +1,4 @@
<services>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service mode="buildtime" name="docker_label_helper"/>
</services>

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Mar 15 13:55:22 UTC 2023 - Richard Brown <rbrown@suse.com>
- Initial container, based on the distrobox-images container