cederom commented on code in PR #17849: URL: https://github.com/apache/nuttx/pull/17849#discussion_r2704536566
########## tools/ci/docker/linux/Dockerfile: ########## @@ -15,56 +15,66 @@ # License for the specific language governing permissions and limitations # under the License. -FROM ubuntu:22.04 AS builder-base +FROM ubuntu:24.04 AS builder-base # NOTE WE ARE NOT REMOVING APT CACHE. # This should only be used for temp build images that artifacts will be copied from +ENV DEBIAN_FRONTEND="noninteractive" RUN apt-get update -qq && apt-get install -y -qq \ curl \ patch \ - xz-utils + xz-utils \ + bzip2 \ + git \ + build-essential ############################################################################### # Base image that should be used to prepare tools from nuttx-tools ############################################################################### FROM builder-base AS nuttx-tools -RUN apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -qq \ +RUN apt-get update -qq && apt-get install -y -qq \ bison \ clang \ cmake \ flex \ g++ \ gawk \ - git \ gperf \ - libncurses5-dev \ + libncurses-dev \ make \ ninja-build \ nodejs \ npm \ unzip \ zip \ - python3 + python3 \ + python3-pip \ + python3-venv RUN mkdir -p /tools WORKDIR /tools +# NuttX Tools RUN mkdir -p /tools/nuttx-tools RUN curl -s -L https://bitbucket.org/nuttx/tools/get/9ad3e1ee75c7.tar.gz \ | tar -C nuttx-tools --strip-components=1 -xz +# Bloaty RUN mkdir -p /tools/bloaty \ - && git clone --depth 1 --branch v1.1 https://github.com/google/bloaty bloaty-src \ + && git clone --depth 1 https://github.com/google/bloaty bloaty-src \ && cd bloaty-src \ && cmake -B build -DCMAKE_INSTALL_PREFIX=/tools/bloaty \ && cmake --build build \ && cmake --build build --target install \ && cd /tools && rm -rf bloaty-src +# Kconfig Frontends +# Note: kconfig-frontends is sensitive to gperf versions, but generally works on 24.04 Review Comment: How about using package? I created FreeBSD port for kconfig-fontends using the same source location as Debian thus I know package is available..? :-) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
