2024-09-12 12:42:13 +02:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
# Copyright (c) 2024 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
|
|
|
|
|
|
|
|
#!UseOBSRepositories
|
|
|
|
|
2024-10-14 13:30:54 +02:00
|
|
|
#!BuildTag: opensuse/bci/gcc:%%gcc_minor_version%%-%RELEASE%
|
|
|
|
#!BuildTag: opensuse/bci/gcc:%%gcc_minor_version%%
|
2024-09-12 12:42:13 +02:00
|
|
|
#!BuildTag: opensuse/bci/gcc:14-%RELEASE%
|
2024-10-11 17:24:50 +02:00
|
|
|
#!BuildTag: opensuse/bci/gcc:14
|
2024-09-12 12:42:13 +02:00
|
|
|
#!BuildTag: opensuse/bci/gcc:latest
|
|
|
|
|
|
|
|
FROM opensuse/tumbleweed:latest
|
|
|
|
|
2024-09-25 19:55:51 +02:00
|
|
|
RUN set -euo pipefail; \
|
|
|
|
zypper -n install --no-recommends gcc14 gcc14-c++ make gcc gcc-c++ curl findutils gawk git-core procps util-linux; \
|
|
|
|
zypper -n clean; \
|
|
|
|
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}
|
2024-09-12 12:42:13 +02:00
|
|
|
|
|
|
|
# Define labels according to https://en.opensuse.org/Building_derived_containers
|
|
|
|
# labelprefix=org.opensuse.bci.gcc
|
|
|
|
LABEL org.opencontainers.image.authors="openSUSE (https://www.opensuse.org/)"
|
|
|
|
LABEL org.opencontainers.image.title="openSUSE Tumbleweed BCI GNU Compiler Collection"
|
|
|
|
LABEL org.opencontainers.image.description="GNU Compiler Collection container based on the openSUSE Tumbleweed Base Container Image."
|
2024-09-23 09:32:38 +02:00
|
|
|
LABEL org.opencontainers.image.version="%%gcc_minor_version%%"
|
2024-09-12 12:42:13 +02:00
|
|
|
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%"
|
2024-10-14 13:30:54 +02:00
|
|
|
LABEL org.opencontainers.image.ref.name="%%gcc_minor_version%%-%RELEASE%"
|
|
|
|
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/bci/gcc:%%gcc_minor_version%%-%RELEASE%"
|
2024-09-12 12:42:13 +02:00
|
|
|
LABEL org.openbuildservice.disturl="%DISTURL%"
|
|
|
|
LABEL org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI"
|
|
|
|
LABEL org.opensuse.release-stage="released"
|
|
|
|
# endlabelprefix
|
|
|
|
LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/gcc-14-image/README.md"
|
2024-09-23 09:32:38 +02:00
|
|
|
ENV GCC_VERSION="%%gcc_minor_version%%"
|
2024-09-12 12:42:13 +02:00
|
|
|
|