Skip to content

Commit 9bbb178

Browse files
authored
Merge pull request #1605 from SUSE/for-deploy-Tumbleweed
🤖: Update build recipes for Tumbleweed
2 parents b799193 + db1ffc1 commit 9bbb178

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

gcc-13-image/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
FROM opensuse/tumbleweed:latest
2323

24-
RUN set -euo pipefail; zypper -n in --no-recommends gcc13 gcc13-c++ make gcc gcc-c++ curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
24+
RUN set -euo pipefail; zypper -n in --no-recommends gcc13 gcc13-c++ make curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
2525

2626
# Define labels according to https://en.opensuse.org/Building_derived_containers
2727
# labelprefix=org.opensuse.bci.gcc
@@ -42,3 +42,8 @@ LABEL org.opensuse.release-stage="released"
4242
LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/gcc-13-image/README.md"
4343
ENV GCC_VERSION="%%gcc_version%%"
4444

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

gcc-13-image/gcc-13-image.changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-------------------------------------------------------------------
2+
Fri Sep 6 05:46:48 UTC 2024 - Dirk Mueller <dmueller@suse.com>
3+
4+
- main gcc is 14; switch linking/packages
5+
16
-------------------------------------------------------------------
27
Fri Aug 23 10:27:45 UTC 2024 - Dan Čermák <dcermak@suse.com>
38

gcc-14-image/Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
FROM opensuse/tumbleweed:latest
2424

25-
RUN set -euo pipefail; zypper -n in --no-recommends gcc14 gcc14-c++ make curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
25+
RUN set -euo pipefail; zypper -n in --no-recommends gcc14 gcc14-c++ make gcc gcc-c++ curl findutils gawk git-core procps util-linux; zypper -n clean; rm -rf /var/log/{lastlog,tallylog,zypper.log,zypp/history,YaST2}
2626

2727
# Define labels according to https://en.opensuse.org/Building_derived_containers
2828
# labelprefix=org.opensuse.bci.gcc
@@ -43,8 +43,3 @@ LABEL org.opensuse.release-stage="released"
4343
LABEL io.artifacthub.package.readme-url="https://raw.githubusercontent.com/SUSE/BCI-dockerfile-generator/Tumbleweed/gcc-14-image/README.md"
4444
ENV GCC_VERSION="%%gcc_version%%"
4545

46-
# symlink all versioned gcc & g++ binaries to unversioned
47-
# ones in /usr/local/bin so that plain gcc works
48-
RUN set -euo pipefail; for gcc_bin in $(rpm -ql gcc14 gcc14-c++ |grep ^/usr/bin/ ); do \
49-
ln -sf $gcc_bin $(echo "$gcc_bin" | sed -e 's|/usr/bin/|/usr/local/bin/|' -e 's|-14$||'); \
50-
done

gcc-14-image/gcc-14-image.changes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-------------------------------------------------------------------
2+
Fri Sep 6 05:46:48 UTC 2024 - Dirk Mueller <dmueller@suse.com>
3+
4+
- main gcc is 14; switch linking/packages
5+
16
-------------------------------------------------------------------
27
Fri Aug 23 10:27:45 UTC 2024 - Dan Čermák <dcermak@suse.com>
38

0 commit comments

Comments
 (0)