Skip to contentSkip to conversation

docker: Add flex and bison to centos6 image

PATCH In review Fam Zheng 3 participants 3 messages May 24, 2017

lore
Share & tools
lore

Fam Zheng

author
#0 lore raw

PATCH 1/1 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.

---
 tests/docker/dockerfiles/centos6.docker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/centos6.docker +1 -1
index 34e0d3b..17a4d24 100644
@@ -1,7 +1,7 @@
 FROM centos:6
 RUN yum install -y epel-release
 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 \
     epel-release
 RUN yum install -y $PACKAGES
Signature · 1 line
2.9.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Fam Zheng

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.

I had the same issue with debian based images :/

Quoted 3 lines
Quoted 18 lines
---
 tests/docker/dockerfiles/centos6.docker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/centos6.docker +1 -1
index 34e0d3b..17a4d24 100644
@@ -1,7 +1,7 @@
 FROM centos:6
 RUN yum install -y epel-release
 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 \
     epel-release
 RUN yum install -y $PACKAGES
Reviewed-by on v1 1/1
#2 lore raw
In reply to Fam Zheng
Quoted 11 lines · Fam Zheng

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.

Quoted 9 lines
---
 tests/docker/dockerfiles/centos6.docker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/centos6.docker +0 -0
index 34e0d3b..17a4d24 100644

tests/docker/dockerfiles/centos6.docker line 7

Quoted 8 lines
tests/docker/dockerfiles/centos6.docker +1 -1
@@ -1,7 +1,7 @@
 FROM centos:6
 RUN yum install -y epel-release
 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 \
     epel-release
 RUN yum install -y $PACKAGES

--
Alex Bennée