[Buildroot] [PATCH 4/4 v2] support/docker: add a Fedore-32 based image

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon May 18 05:09:57 UTC 2020


Hello,

Thanks for doing this work, I did need some Docker images just
yesterday. One comment/question below.

On Sun, 17 May 2020 23:41:40 +0200
"Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:

> +# Remove the repository with updates, so we only
> +# get packages as they were at time of release.
> +RUN rm -f /etc/yum.repos.d/fedora-updates*.repo && \
> +    dnf -y install \
> +        @development-tools \
> +        bc \
> +        bzip2 \
> +        bzr \
> +        cpio \
> +        cvs \
> +        file \
> +        gcc-c++ \
> +        git \
> +        mercurial \
> +        ncurses-devel \
> +        perl-ExtUtils-MakeMaker \
> +        perl-Thread-Queue \
> +        python-nose2 \
> +        python-pexpect \
> +        qemu-system-arm \
> +        qemu-system-x86 \

With python-nose2 and python-pexpect, this pulls in a Python
interpreter, which is not strictly a requirement of Buildroot. I know
these are needed to run the runtime tests, and therefore to run the
Gitlab CI stuff. But sometimes we need to do some tests with really the
minimal set of Buildroot dependencies. Same goes with qemu-system-*
packages.

Should we have two sets of Docker images, one with the minimal set of
dependencies, and one that adds the stuff needed for Gitlab CI ? I
believe Docker allows to create some kind of layered "thing" where an
image sits on top of another.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list