1
0

Compare commits

...

26 Commits

Author SHA256 Message Date
Ana Guerrero
8bf38327d7 Accepting request 1236163 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1236163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=40
2025-01-09 14:12:10 +00:00
6d885e701f [info=f3ca63eaa372c3913b86aacf613e4b24]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=220
2025-01-09 10:09:27 +00:00
Ana Guerrero
25b62e19df Accepting request 1234343 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1234343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=39
2025-01-02 18:20:04 +00:00
450daa06c2 [info=e16e27759d780e2eddb39e97b97955f2]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=216
2025-01-01 14:19:34 +00:00
Ana Guerrero
61cfe37af8 Accepting request 1228039 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1228039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=38
2024-12-03 19:48:01 +00:00
544db75253 [info=947d20f6ab42508232ee14bfd221ff5a]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=209
2024-12-03 13:55:16 +00:00
Ana Guerrero
29955afa03 Accepting request 1221709 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1221709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=37
2024-11-06 15:56:24 +00:00
78d0bbdcc1 [info=19f5543fffdb48a66432698dfb97e92e]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=195
2024-11-06 08:46:55 +00:00
Dominique Leuenberger
dc7b90d16e Accepting request 1219688 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1219688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=36
2024-10-30 21:58:21 +00:00
Dominique Leuenberger
739195397d Accepting request 1219142 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1219142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=35
2024-10-30 16:35:46 +00:00
f2168a2117 [info=93d5f344e3ae129e962c6ea6598d5648]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=192
2024-10-30 15:43:28 +00:00
9495b0171c [info=890a4c0eda997e1a02cf99e92a5f4484]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=190
2024-10-29 15:35:25 +00:00
Ana Guerrero
c1d1b8f1bc Accepting request 1207931 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1207931
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=34
2024-10-15 13:00:22 +00:00
448bfdb6cb [info=ec32e18d254f815138360770bd987ea2]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=183
2024-10-14 11:35:26 +00:00
Dominique Leuenberger
bbbcaecfdc Accepting request 1207287 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1207287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=33
2024-10-14 11:20:51 +00:00
8c4f1304bc [info=6b3107182dac87c361e83007e4fa40e6]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=182
2024-10-11 15:28:59 +00:00
Ana Guerrero
14fb7a3b2e Accepting request 1204338 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1204338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=32
2024-09-29 16:13:13 +00:00
f108c43f37 [info=b3a8e62aa51e8be2632184dceba6073c]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=174
2024-09-28 08:22:22 +00:00
Ana Guerrero
b206981563 Accepting request 1203704 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1203704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=31
2024-09-26 16:53:38 +00:00
Ana Guerrero
1e3e654159 Accepting request 1203045 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1203045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=30
2024-09-25 19:53:27 +00:00
83d8b4cec8 [info=5fc86742ead55077bc71338e50ce529f]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=173
2024-09-25 17:59:34 +00:00
3b41eb70ba [info=d481a28e51d68371312b5d042974af56]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=172
2024-09-25 17:20:22 +00:00
1ef523d9c5 [info=7c44173f47ecaa849838ed9a3c880c26]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=169
2024-09-24 20:07:03 +00:00
820567265b [info=3461e126c59fdeca2efb6d788467bee3]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=168
2024-09-24 13:21:49 +00:00
Ana Guerrero
c7a2e6d507 Accepting request 1200629 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS

OBS-URL: https://build.opensuse.org/request/show/1200629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=29
2024-09-12 14:58:34 +00:00
2233103ac1 [info=971f924a26972b0638d6804f91423748]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rust-stable-image?expand=0&rev=157
2024-09-12 10:47:50 +00:00
5 changed files with 94 additions and 22 deletions

View File

@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -13,31 +13,33 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
#!UseOBSRepositories
#!BuildTag: opensuse/bci/rust:stable
#!BuildTag: opensuse/bci/rust:stable-1.%RELEASE%
#!BuildTag: opensuse/bci/rust:1.80
#!BuildTag: opensuse/bci/rust:1.80-1.%RELEASE%
#!BuildTag: opensuse/bci/rust:%%RUST_VERSION%%
#!BuildTag: opensuse/bci/rust:stable
#!BuildTag: opensuse/bci/rust:%%RUST_VERSION%%-1.%RELEASE%
#!BuildTag: opensuse/bci/rust:%%RUST_VERSION%%
#!BuildTag: opensuse/bci/rust:1.83
#!BuildTag: opensuse/bci/rust:latest
FROM opensuse/tumbleweed:latest
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}
RUN set -euo pipefail; \
zypper -n install --no-recommends rust1.83 cargo1.83; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.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.80"
LABEL org.opencontainers.image.description="Rust 1.80 container based on the openSUSE Tumbleweed Base Container Image."
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Rust 1.83"
LABEL org.opencontainers.image.description="Rust 1.83 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.80-1.%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/rust:1.80-1.%RELEASE%"
LABEL org.opencontainers.image.ref.name="%%RUST_VERSION%%-1.%RELEASE%"
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/rust:%%RUST_VERSION%%-1.%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI"
LABEL org.opensuse.release-stage="released"

View File

@ -1,4 +1,4 @@
# Rust 1.80 Container Image
# Rust 1.83 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.80 container image
FROM registry.opensuse.org/opensuse/bci/rust:1.80 as build
# Build the application using the Rust 1.83 container image
FROM registry.opensuse.org/opensuse/bci/rust:1.83 as build
WORKDIR /app
@ -21,7 +21,7 @@ COPY . ./
RUN cargo build --release
# Bundle the application into a BCI micro (or other BCI image)
FROM registry.suse.com/bci/bci-micro:latest
FROM registry.opensuse.org/opensuse/bci/bci-micro:latest
COPY --from=build /app/target/release/hello /usr/local/bin/hello
@ -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.80 cargo build --release
$ podman run --rm -v "$PWD":/app:Z -w /app registry.opensuse.org/opensuse/bci/rust:1.83 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`.

View File

@ -1,14 +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">
<service mode="buildtime" name="replace_using_package_version">
<param name="file">Dockerfile</param>
<param name="regex">%%RUST_VERSION%%</param>
<param name="package">rust1.80</param>
<param name="package">rust1.83</param>
</service>
<service name="replace_using_package_version" mode="buildtime">
<service mode="buildtime" name="replace_using_package_version">
<param name="file">Dockerfile</param>
<param name="regex">%%CARGO_VERSION%%</param>
<param name="package">cargo1.80</param>
<param name="package">cargo1.83</param>
</service>
</services>

View File

@ -1,2 +1,2 @@
requires:cargo1.80
requires:rust1.80
requires:cargo1.83
requires:rust1.83

View File

@ -1,3 +1,73 @@
-------------------------------------------------------------------
Thu Jan 9 10:02:30 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
- rust 1.83 as stable, 1.82 as oldstable
-------------------------------------------------------------------
Wed Jan 1 14:13:48 UTC 2025 - SUSE Update Bot <bci-internal@suse.de>
- update copyright year
-------------------------------------------------------------------
Tue Dec 3 13:26:38 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- Change attribute order in _service
-------------------------------------------------------------------
Mon Nov 4 13:48:26 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- Bump Rust version to 1.82
-------------------------------------------------------------------
Wed Oct 30 15:34:45 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- remove nonsensical org.opencontainers.image.authors - duplication of .vendor
-------------------------------------------------------------------
Tue Oct 29 15:23:20 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- drop tag_version-%RELEASE%
-------------------------------------------------------------------
Mon Oct 14 11:26:26 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- make the version-%release tag the first one listed; remove duplicates where they existed; update image.ref/reference to point to the version-%release(-) tag
-------------------------------------------------------------------
Fri Oct 11 15:12:52 UTC 2024 - SUSE Update Bot <bci-internal@suse.de>
- make the tag with -%RELEASE% the first tag listed
-------------------------------------------------------------------
Sat Sep 28 08:15:08 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- fix registry references in READMEs
-------------------------------------------------------------------
Wed Sep 25 17:36:16 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- rerender installation step in multiple lines, allow uninstalling optional packages
-------------------------------------------------------------------
Wed Sep 25 17:12:11 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- improved log cleaning
-------------------------------------------------------------------
Tue Sep 24 20:00:32 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- remove release tags for additional_versions
-------------------------------------------------------------------
Tue Sep 24 13:14:58 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- rust 1.81 for stable, rust 1.80 for oldstable
-------------------------------------------------------------------
Thu Sep 12 10:37:22 UTC 2024 - Dirk Mueller <dmueller@suse.com>
- set useobsrepositories explicitly
-------------------------------------------------------------------
Fri Sep 6 11:30:01 UTC 2024 - Dirk Mueller <dmueller@suse.com>