[info=fefca139dacaf0cb7c8360ad0cc7b02a]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-oldstable-image?expand=0&rev=1
This commit is contained in:
Dirk Mueller 2023-06-13 20:31:01 +00:00 committed by Git OBS Bridge
commit dd7c17cdd8
6 changed files with 100 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

36
Dockerfile Normal file
View File

@ -0,0 +1,36 @@
# SPDX-License-Identifier: MIT
#!BuildTag: opensuse/bci/rust:1.68
#!BuildTag: opensuse/bci/rust:1.68-%RELEASE%
#!BuildTag: opensuse/bci/rust:oldstable
#!BuildTag: opensuse/bci/rust:oldstable-%RELEASE%
FROM opensuse/tumbleweed:latest
MAINTAINER openSUSE (https://www.opensuse.org/)
# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=org.opensuse.bci.rust
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Rust 1.68 Container Image"
LABEL org.opencontainers.image.description="Rust 1.68 based on the openSUSE Tumbleweed Base Container Image."
LABEL org.opencontainers.image.version="1.68"
LABEL org.opencontainers.image.url="https://www.opensuse.org"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="openSUSE Project"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/rust:1.68-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime"
LABEL org.opensuse.release-stage="released"
# endlabelprefix
RUN set -euo pipefail; zypper -n in --no-recommends rust1.68 cargo1.68 distribution-release; zypper -n clean; rm -rf /var/log/*
ENV RUST_VERSION="%%RUST_VERSION%%"
ENV CARGO_VERSION="%%CARGO_VERSION%%"
ENV CC="/usr/local/bin/gcc"
# workaround for gcc only existing as /usr/bin/gcc-N
RUN ln -sf $(ls /usr/bin/gcc-*|grep -P ".*gcc-[[:digit:]]+") /usr/local/bin/gcc
# smoke test that gcc works
RUN gcc --version
RUN ${CC} --version

7
_constraints Normal file
View File

@ -0,0 +1,7 @@
<constraints>
<hardware>
<disk>
<size unit="G">6</size>
</disk>
</hardware>
</constraints>

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service mode="buildtime" name="docker_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%RUST_VERSION%%</param>
<param name="package">rust1.68</param>
</service>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">Dockerfile</param>
<param name="regex">%%CARGO_VERSION%%</param>
<param name="package">cargo1.68</param>
</service>
</services>

View File

@ -0,0 +1,19 @@
-------------------------------------------------------------------
Tue Jun 13 15:18:45 UTC 2023 - Dirk Müller <dmueller@suse.com>
- rename to oldstable
-------------------------------------------------------------------
Tue May 30 06:52:56 UTC 2023 - Dan Čermák <dcermak@suse.com>
- Add release stage and lifecycle url
-------------------------------------------------------------------
Tue May 2 06:34:23 UTC 2023 - William Brown <william.brown@suse.com>
- Switch latest tag to Rust 1.69
-------------------------------------------------------------------
Wed Apr 05 06:48:40 UTC 2023 - SUSE Update Bot <bci-internal@suse.de>
- First version of the Rust 1.68 BCI