diff --git a/Dockerfile b/Dockerfile index 004866b..bbac326 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,13 +17,12 @@ #!BuildTag: opensuse/bci/gcc:%%gcc_minor_version%%-%RELEASE% #!BuildTag: opensuse/bci/gcc:%%gcc_minor_version%% -#!BuildTag: opensuse/bci/gcc:12-%RELEASE% #!BuildTag: opensuse/bci/gcc:12 FROM opensuse/tumbleweed:latest RUN set -euo pipefail; \ - zypper -n install --no-recommends gcc12 gcc12-c++ make curl findutils gawk git-core procps util-linux; \ + zypper -n install --no-recommends gcc12 gcc12-c++ gcc12-fortran make 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} @@ -48,6 +47,6 @@ ENV GCC_VERSION="%%gcc_minor_version%%" # symlink all versioned gcc & g++ binaries to unversioned # ones in /usr/local/bin so that plain gcc works -RUN set -euo pipefail; for gcc_bin in $(rpm -ql gcc12 gcc12-c++ |grep ^/usr/bin/ ); do \ +RUN set -euo pipefail; for gcc_bin in $(rpm -ql gcc12 gcc12-c++ gcc12-fortran |grep ^/usr/bin/ ); do \ ln -sf $gcc_bin $(echo "$gcc_bin" | sed -e 's|/usr/bin/|/usr/local/bin/|' -e 's|-12$||'); \ done diff --git a/README.md b/README.md index 3d91dc2..c3fd32d 100644 --- a/README.md +++ b/README.md @@ -59,10 +59,9 @@ using `zypper`. This includes the following: ### Available compiler frontends The GNU Compiler Collections supports a wide range of frontends. The container -image ships the C and C++ frontends available as `gcc` and `g++` +image ships the C, C++ and fortran frontends available as `gcc`, `g++` and `gfortran` respectively. The following additional frontends can be installed from the repository: -- `gcc12-fortran` for Fortran support - `gcc12-ada` for the Ada frontend (GNAT) - `gcc12-go` for the Go frontend - `gcc12-objc` and `gcc12-obj-c++` for the Objective C and Objective C++ diff --git a/gcc-12-image.changes b/gcc-12-image.changes index 2f3d5f0..65d3c98 100644 --- a/gcc-12-image.changes +++ b/gcc-12-image.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Oct 29 15:23:20 UTC 2024 - SUSE Update Bot + +- drop tag_version-%RELEASE% + +------------------------------------------------------------------- +Tue Oct 29 14:22:15 UTC 2024 - SUSE Update Bot + +- add fortran + ------------------------------------------------------------------- Mon Oct 14 11:26:26 UTC 2024 - SUSE Update Bot