Skip to content

Commit 4da350b

Browse files
dcermakSUSE Update Bot
authored andcommitted
Test build for #1092
1 parent 8851716 commit 4da350b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

gcc-13-image/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle#suse-linux-enterpri
4242
LABEL com.suse.release-stage="beta"
4343
# endlabelprefix
4444

45-
RUN set -euo pipefail; zypper -n in --no-recommends gcc13 gcc13-c++ make; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
45+
RUN set -euo pipefail; zypper -n in --no-recommends gcc13 gcc13-c++ make gawk; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
4646
ENV GCC_VERSION="%%gcc_version%%"
4747

4848
# symlink all versioned gcc & g++ binaries to unversioned
4949
# ones in /usr/local/bin so that plain gcc works
5050
RUN set -euo pipefail; for gcc_bin in $(rpm -ql gcc13 gcc13-c++ |grep ^/usr/bin/ ); do \
51-
ln -f $gcc_bin $(echo "$gcc_bin" | sed -e 's|/usr/bin/|/usr/local/bin/|' -e 's|-13$||'); \
51+
ln -sf $gcc_bin $(echo "$gcc_bin" | sed -e 's|/usr/bin/|/usr/local/bin/|' -e 's|-13$||'); \
5252
done

gcc-7-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle#suse-linux-enterpri
4242
LABEL com.suse.release-stage="beta"
4343
# endlabelprefix
4444

45-
RUN set -euo pipefail; zypper -n in --no-recommends gcc7 gcc7-c++ make gcc gcc-c++; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
45+
RUN set -euo pipefail; zypper -n in --no-recommends gcc7 gcc7-c++ make gawk gcc gcc-c++; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
4646
ENV GCC_VERSION="%%gcc_version%%"
4747

0 commit comments

Comments
 (0)