forked from pool/rust-stable-image
Accepting request 1114209 from devel:BCI:Tumbleweed
🤖: sync package with devel:BCI:Tumbleweed from OBS OBS-URL: https://build.opensuse.org/request/show/1114209 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-stable-image?expand=0&rev=4
This commit is contained in:
commit
4a779c8b66
29
Dockerfile
29
Dockerfile
@ -1,8 +1,23 @@
|
|||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon.
|
||||||
|
|
||||||
|
# The content of THIS FILE IS AUTOGENERATED and should not be manually modified.
|
||||||
|
# It is maintained by the BCI team and generated by
|
||||||
|
# https://github.com/SUSE/BCI-dockerfile-generator
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
# You can contact the BCI team via https://github.com/SUSE/bci/discussions
|
||||||
|
|
||||||
|
|
||||||
#!BuildTag: opensuse/bci/rust:stable
|
#!BuildTag: opensuse/bci/rust:stable
|
||||||
#!BuildTag: opensuse/bci/rust:stable-1.%RELEASE%
|
#!BuildTag: opensuse/bci/rust:stable-1.%RELEASE%
|
||||||
#!BuildTag: opensuse/bci/rust:1.71
|
#!BuildTag: opensuse/bci/rust:1.72
|
||||||
#!BuildTag: opensuse/bci/rust:1.71-1.%RELEASE%
|
#!BuildTag: opensuse/bci/rust:1.72-1.%RELEASE%
|
||||||
#!BuildTag: opensuse/bci/rust:latest
|
#!BuildTag: opensuse/bci/rust:latest
|
||||||
|
|
||||||
FROM opensuse/tumbleweed:latest
|
FROM opensuse/tumbleweed:latest
|
||||||
@ -11,21 +26,21 @@ MAINTAINER openSUSE (https://www.opensuse.org/)
|
|||||||
|
|
||||||
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
||||||
# labelprefix=org.opensuse.bci.rust
|
# labelprefix=org.opensuse.bci.rust
|
||||||
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Rust 1.71"
|
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI Rust 1.72"
|
||||||
LABEL org.opencontainers.image.description="Rust 1.71 container based on the openSUSE Tumbleweed Base Container Image."
|
LABEL org.opencontainers.image.description="Rust 1.72 container based on the openSUSE Tumbleweed Base Container Image."
|
||||||
LABEL org.opencontainers.image.version="1.71"
|
LABEL org.opencontainers.image.version="1.72"
|
||||||
LABEL org.opencontainers.image.url="https://www.opensuse.org"
|
LABEL org.opencontainers.image.url="https://www.opensuse.org"
|
||||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||||
LABEL org.opencontainers.image.vendor="openSUSE Project"
|
LABEL org.opencontainers.image.vendor="openSUSE Project"
|
||||||
LABEL org.opencontainers.image.source="%SOURCEURL%"
|
LABEL org.opencontainers.image.source="%SOURCEURL%"
|
||||||
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/rust:1.71-1.%RELEASE%"
|
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/rust:1.72-1.%RELEASE%"
|
||||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||||
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime"
|
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime"
|
||||||
LABEL org.opensuse.release-stage="released"
|
LABEL org.opensuse.release-stage="released"
|
||||||
|
|
||||||
# endlabelprefix
|
# endlabelprefix
|
||||||
|
|
||||||
RUN set -euo pipefail; zypper -n in --no-recommends rust1.71 cargo1.71; zypper -n clean; rm -rf /var/log/*
|
RUN set -euo pipefail; zypper -n in --no-recommends rust1.72 cargo1.72; zypper -n clean; rm -rf /var/log/*
|
||||||
ENV RUST_VERSION="%%RUST_VERSION%%"
|
ENV RUST_VERSION="%%RUST_VERSION%%"
|
||||||
ENV CARGO_VERSION="%%CARGO_VERSION%%"
|
ENV CARGO_VERSION="%%CARGO_VERSION%%"
|
||||||
ENV CC="/usr/local/bin/gcc"
|
ENV CC="/usr/local/bin/gcc"
|
||||||
|
4
_service
4
_service
@ -4,11 +4,11 @@
|
|||||||
<service name="replace_using_package_version" mode="buildtime">
|
<service name="replace_using_package_version" mode="buildtime">
|
||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="regex">%%RUST_VERSION%%</param>
|
<param name="regex">%%RUST_VERSION%%</param>
|
||||||
<param name="package">rust1.71</param>
|
<param name="package">rust1.72</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="replace_using_package_version" mode="buildtime">
|
<service name="replace_using_package_version" mode="buildtime">
|
||||||
<param name="file">Dockerfile</param>
|
<param name="file">Dockerfile</param>
|
||||||
<param name="regex">%%CARGO_VERSION%%</param>
|
<param name="regex">%%CARGO_VERSION%%</param>
|
||||||
<param name="package">cargo1.71</param>
|
<param name="package">cargo1.72</param>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 28 14:29:10 UTC 2023 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add copyright and description header
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 21 10:47:03 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update stable to Rust 1.72
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 26 09:39:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Wed Jul 26 09:39:06 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user