-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dockerfiles: Add container for DT validation
The kernel has started moving devicetree schemas to a format which allows for automatic validation. This requires a separate build target and a toolset (currently not packaged for any distro) so create a new docker container with the toolset installed that we can use to run these tests. Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM kernelci/build-base | ||
|
||
RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
gcc-8 \ | ||
gcc-8-plugin-dev \ | ||
python3-pip \ | ||
python3-setuptools \ | ||
python3-wheel | ||
|
||
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 500 | ||
|
||
RUN pip3 install git+https://github.com/devicetree-org/dt-schema.git@master |