docker: Add flex and bison to centos6 image

Currently there are warnings about flex and bison being missing when
building in the centos6 image:

    make[1]: flex: Command not found
             BISON dtc-parser.tab.c
    make[1]: bison: Command not found

Add them.

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170524005206.31916-1-famz@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
This commit is contained in:
Fam Zheng 2017-05-24 08:52:06 +08:00
parent 80c58a5b1b
commit 79f24568e5

View File

@ -1,7 +1,7 @@
FROM centos:6 FROM centos:6
RUN yum install -y epel-release RUN yum install -y epel-release
ENV PACKAGES libfdt-devel ccache \ ENV PACKAGES libfdt-devel ccache \
tar git make gcc g++ \ tar git make gcc g++ flex bison \
zlib-devel glib2-devel SDL-devel pixman-devel \ zlib-devel glib2-devel SDL-devel pixman-devel \
epel-release epel-release
RUN yum install -y $PACKAGES RUN yum install -y $PACKAGES