mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-07-16 15:56:57 +00:00
03981f9365
* --no-cache is needed to actually call apt update instead of using it from docker cache and then failing to fetch pruned packages as shown: https://github.com/agherzan/meta-raspberrypi/actions/runs/16327036376/job/46119768952?pr=1491 Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 lines
527 B
Markdown
22 lines
527 B
Markdown
<!--
|
|
SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com>
|
|
|
|
SPDX-License-Identifier: MIT
|
|
-->
|
|
|
|
# Docker images for CI
|
|
|
|
Each directory contains the files for a docker image.
|
|
|
|
## Building an image
|
|
|
|
When building a docker image, the build context is expected to be where this
|
|
`README.md` file resides. This means that building the images will require
|
|
passing the appropriate `-f` argument.
|
|
|
|
Here is an example for building the `dco-check` image:
|
|
|
|
```
|
|
docker build --no-cache . -f dco-check/Dockerfile -t dco-check
|
|
```
|