Skip to content

Commit

Permalink
upgrade gcc used to bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkMyCar committed Aug 29, 2024
1 parent 09281d8 commit b338f23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sysroot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# to support generating Linux sysroot packages via GitHub actions.
#

FROM ubuntu:22.04 AS base_image
FROM ubuntu:24.04 AS base_image

WORKDIR /bin
SHELL ["/bin/bash", "-c"]
Expand Down Expand Up @@ -82,13 +82,13 @@ RUN ./contrib/download_prerequisites
FROM base_image AS build_image

WORKDIR /opt/gcc/aarch64
RUN curl --fail-early --location https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--glibc--stable-2022.08-1.tar.bz2 \
RUN curl --fail-early --location https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--glibc--stable-2024.02-1.tar.bz2 \
| tar --bzip --extract --strip-components=1 --file -
WORKDIR /opt/gcc/aarch64/bin
RUN --mount=source=create_symlinks.sh,target=/usr/bin/create_symlinks.sh create_symlinks.sh arm-linux- arm-linux-gnueabihf-

WORKDIR /opt/gcc/x86_64
RUN curl --fail-early --location https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--stable-2022.08-1.tar.bz2 \
RUN curl --fail-early --location https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs/x86-64--glibc--stable-2024.02-1.tar.bz2 \
| tar --bzip --extract --strip-components=1 --file -
WORKDIR /opt/gcc/x86_64/bin
RUN --mount=source=create_symlinks.sh,target=/usr/bin/create_symlinks.sh create_symlinks.sh x86_64-linux-
Expand Down

0 comments on commit b338f23

Please sign in to comment.