From d85e4240f2ec7f399daad8abc40baf5c29cda3e6aa55eb4b99410a0e6a20258e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Tue, 24 Sep 2024 13:21:49 +0000 Subject: [PATCH] [info=c2f9d93609b89f80273165adaf70f189] OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-oldstable-image?expand=0&rev=168 --- Dockerfile | 14 +++++++------- README.md | 8 ++++---- _service | 4 ++-- rust-and-cargo-pin.check | 4 ++-- rust-oldstable-image.changes | 5 +++++ 5 files changed, 20 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index fada628..ccc5e42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,27 +17,27 @@ #!BuildTag: opensuse/bci/rust:oldstable #!BuildTag: opensuse/bci/rust:oldstable-2.%RELEASE% -#!BuildTag: opensuse/bci/rust:1.79 -#!BuildTag: opensuse/bci/rust:1.79-2.%RELEASE% +#!BuildTag: opensuse/bci/rust:1.80 +#!BuildTag: opensuse/bci/rust:1.80-2.%RELEASE% #!BuildTag: opensuse/bci/rust:%%RUST_VERSION%% #!BuildTag: opensuse/bci/rust:%%RUST_VERSION%%-2.%RELEASE% FROM opensuse/tumbleweed:latest -RUN set -euo pipefail; zypper -n in --no-recommends rust1.79 cargo1.79; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} +RUN set -euo pipefail; zypper -n in --no-recommends rust1.80 cargo1.80; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2} # Define labels according to https://en.opensuse.org/Building_derived_containers # labelprefix=org.opensuse.bci.rust LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)" -LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Rust 1.79" -LABEL org.opencontainers.image.description="Rust 1.79 container based on the openSUSE Tumbleweed Base Container Image." +LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Rust 1.80" +LABEL org.opencontainers.image.description="Rust 1.80 container based on the openSUSE Tumbleweed Base Container Image." LABEL org.opencontainers.image.version="%%RUST_VERSION%%" 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.opencontainers.image.ref.name="1.79-2.%RELEASE%" -LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/rust:1.79-2.%RELEASE%" +LABEL org.opencontainers.image.ref.name="1.80-2.%RELEASE%" +LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/rust:1.80-2.%RELEASE%" LABEL org.openbuildservice.disturl="%DISTURL%" LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI" LABEL org.opensuse.release-stage="released" diff --git a/README.md b/README.md index 18d6b34..310c33f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Rust 1.79 Container Image +# Rust 1.80 Container Image ![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green) @@ -11,8 +11,8 @@ To compile and deploy an application, copy the sources, fetch dependencies, and build the binary: ```Dockerfile -# Build the application using the Rust 1.79 container image -FROM registry.opensuse.org/opensuse/bci/rust:1.79 as build +# Build the application using the Rust 1.80 container image +FROM registry.opensuse.org/opensuse/bci/rust:1.80 as build WORKDIR /app @@ -40,7 +40,7 @@ There are situations, where you don't want to run an application inside a contai To compile the application, without running it inside a container instance, use the following command: ```ShellSession -$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/rust:1.79 cargo build --release +$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/rust:1.80 cargo build --release ``` **Note:** The Rust image is intended to be used as a build environment. For runtime, use smaller images such as `bci-base`, `bci-micro`, or `bci-minimal`. diff --git a/_service b/_service index 0c02bc3..5b2ff01 100644 --- a/_service +++ b/_service @@ -4,11 +4,11 @@ Dockerfile %%RUST_VERSION%% - rust1.79 + rust1.80 Dockerfile %%CARGO_VERSION%% - cargo1.79 + cargo1.80 \ No newline at end of file diff --git a/rust-and-cargo-pin.check b/rust-and-cargo-pin.check index 386d709..1304b2e 100644 --- a/rust-and-cargo-pin.check +++ b/rust-and-cargo-pin.check @@ -1,2 +1,2 @@ -requires:cargo1.79 -requires:rust1.79 +requires:cargo1.80 +requires:rust1.80 diff --git a/rust-oldstable-image.changes b/rust-oldstable-image.changes index 5debfd4..16f91a9 100644 --- a/rust-oldstable-image.changes +++ b/rust-oldstable-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 24 13:14:58 UTC 2024 - Dirk Mueller + +- rust 1.81 for stable, rust 1.80 for oldstable + ------------------------------------------------------------------- Thu Sep 12 10:37:22 UTC 2024 - Dirk Mueller