From dd7c17cdd84490d67f49dbd5e1cd6ec6a391d41dbf454be08b414f6b1bb723e1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 13 Jun 2023 20:31:01 +0000 Subject: [PATCH] [info=fefca139dacaf0cb7c8360ad0cc7b02a] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-oldstable-image?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++++++ .gitignore | 1 + Dockerfile | 36 ++++++++++++++++++++++++++++++++++++ _constraints | 7 +++++++ _service | 14 ++++++++++++++ rust-oldstable-image.changes | 19 +++++++++++++++++++ 6 files changed, 100 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 _constraints create mode 100644 _service create mode 100644 rust-oldstable-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..2debd87 --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..a6a4866 --- /dev/null +++ b/_constraints @@ -0,0 +1,7 @@ + + + + 6 + + + diff --git a/_service b/_service new file mode 100644 index 0000000..6ed21a4 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + + + Dockerfile + %%RUST_VERSION%% + rust1.68 + + + Dockerfile + %%CARGO_VERSION%% + cargo1.68 + + \ No newline at end of file diff --git a/rust-oldstable-image.changes b/rust-oldstable-image.changes new file mode 100644 index 0000000..815756f --- /dev/null +++ b/rust-oldstable-image.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Tue Jun 13 15:18:45 UTC 2023 - Dirk Müller + +- rename to oldstable + +------------------------------------------------------------------- +Tue May 30 06:52:56 UTC 2023 - Dan Čermák + +- Add release stage and lifecycle url + +------------------------------------------------------------------- +Tue May 2 06:34:23 UTC 2023 - William Brown + +- Switch latest tag to Rust 1.69 + +------------------------------------------------------------------- +Wed Apr 05 06:48:40 UTC 2023 - SUSE Update Bot + +- First version of the Rust 1.68 BCI