From 34e4eedafa4809ab62ba8aaad6b864cba435c282f9ed7127b15190b52c5e95e9 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 13 Jun 2023 20:30:42 +0000 Subject: [PATCH] [info=20fbb78f8266fe5aaa59fac5bf4622f5] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++++++ .gitignore | 1 + Dockerfile | 37 +++++++++++++++++++++++++++++++++++++ _constraints | 7 +++++++ _service | 14 ++++++++++++++ rust-stable-image.changes | 14 ++++++++++++++ 6 files changed, 96 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-stable-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..6da17cf --- /dev/null +++ b/Dockerfile @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: MIT +#!BuildTag: opensuse/bci/rust:1.69 +#!BuildTag: opensuse/bci/rust:1.69-%RELEASE% +#!BuildTag: opensuse/bci/rust:stable +#!BuildTag: opensuse/bci/rust:stable-%RELEASE% +#!BuildTag: opensuse/bci/rust:latest + +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.69 Container Image" +LABEL org.opencontainers.image.description="Rust 1.69 based on the openSUSE Tumbleweed Base Container Image." +LABEL org.opencontainers.image.version="1.69" +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.69-%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.69 cargo1.69 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..21ed341 --- /dev/null +++ b/_service @@ -0,0 +1,14 @@ + + + + + Dockerfile + %%RUST_VERSION%% + rust1.69 + + + Dockerfile + %%CARGO_VERSION%% + cargo1.69 + + \ No newline at end of file diff --git a/rust-stable-image.changes b/rust-stable-image.changes new file mode 100644 index 0000000..1d06caa --- /dev/null +++ b/rust-stable-image.changes @@ -0,0 +1,14 @@ +------------------------------------------------------------------- +Tue Jun 13 15:18:24 UTC 2023 - Dirk Müller + +- rename to stable + +------------------------------------------------------------------- +Tue May 30 06:52:56 UTC 2023 - Dan Čermák + +- Add release stage and lifecycle url + +------------------------------------------------------------------- +Sat Apr 29 11:13:40 UTC 2023 - SUSE Update Bot + +- First version of the Rust 1.69 BCI