-
Notifications
You must be signed in to change notification settings - Fork 1
Updating Dockerfile for RDKB native build #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates the Dockerfile to support RDKB native build by reorganizing the package installation and adding necessary dependencies.
- Reformatted the
apt-get installcommand with alphabetically organized packages for better readability and maintainability - Added new packages required for RDKB native build including networking libraries (libnetfilter-queue-dev, libnfnetlink-dev, libnl-*), messaging libraries (libnanomsg-dev, libevent-dev), and utilities (iputils-ping, net-tools)
- Implemented Docker best practices by adding
apt-get cleanand removing apt cache to reduce image size
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| libglib2.0-dev libjansson-dev liblog4c-dev libmsgpack-dev libnetfilter-queue-dev libnfnetlink-dev libsqlite3-dev \ | ||
| libssl-dev libsystemd-dev libtirpc-dev libtool libunwind-dev libwebsocketpp-dev libxml2-utils libcunit1 libcunit1-dev \ | ||
| meson net-tools ninja-build openssl python3-distutils python3-pip ruby-full tar tcl-dev valgrind vim wget libmnl-dev \ | ||
| zlib1g-dev libupnp-dev libnanomsg-dev libevent-dev libnl-3-dev libnl-route-3-dev libnl-nf-3-dev \ |
Copilot
AI
Dec 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The package libboost-all-dev was removed from the previous version but is not present in the updated package list. If RDKB native build requires Boost libraries, this could break the build. Please verify whether Boost is still needed for RDKB components, and if so, add it back to the package list.
| zlib1g-dev libupnp-dev libnanomsg-dev libevent-dev libnl-3-dev libnl-route-3-dev libnl-nf-3-dev \ | |
| zlib1g-dev libupnp-dev libnanomsg-dev libevent-dev libnl-3-dev libnl-route-3-dev libnl-nf-3-dev libboost-all-dev \ |
| RUN apt-get update && apt-get install -y \ | ||
| automake build-essential clang curl g++ gcc gdb git git-lfs gperf iputils-ping jq lcov libavro-dev \ | ||
| libbsd-dev libc6-dev libcjson-dev libcap-dev libcurl4-openssl-dev libdbus-1-dev libgmock-dev libgtest-dev \ | ||
| libglib2.0-dev libjansson-dev liblog4c-dev libmsgpack-dev libnetfilter-queue-dev libnfnetlink-dev libsqlite3-dev \ | ||
| libssl-dev libsystemd-dev libtirpc-dev libtool libunwind-dev libwebsocketpp-dev libxml2-utils libcunit1 libcunit1-dev \ | ||
| meson net-tools ninja-build openssl python3-distutils python3-pip ruby-full tar tcl-dev valgrind vim wget libmnl-dev \ | ||
| zlib1g-dev libupnp-dev libnanomsg-dev libevent-dev libnl-3-dev libnl-route-3-dev libnl-nf-3-dev \ | ||
| && apt-get clean \ | ||
| && rm -rf /var/lib/apt/lists/* |
Copilot
AI
Dec 22, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The package autotools-dev was removed from the previous version but is not present in the updated package list. This package provides configuration files for autotools and may be needed for building certain components. Please verify whether autotools-dev is still needed for RDKB native build, and if so, add it back to the package list.
No description provided.