docker: Install python2 explicitly in docker image
PATCH 1/1 docker: Install python2 explicitly in docker image
Python is no longer installed implicitly, but the QEMU build system requires it. List it in PACKAGES.
--- tests/docker/dockerfiles/fedora.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/docker/dockerfiles/fedora.docker +1 -1
@@ -1,6 +1,6 @@ FROM fedora:latest ENV PACKAGES \ - ccache git tar PyYAML sparse flex bison \ + ccache git tar PyYAML sparse flex bison python2 \ glib2-devel pixman-devel zlib-devel SDL-devel libfdt-devel \ gcc gcc-c++ clang make perl which bc findutils \ mingw32-pixman mingw32-glib2 mingw32-gmp mingw32-SDL mingw32-pkg-config \
Signature · 1 line
2.9.3
Hi Fam,
Quoted 5 lines · Fam Zheng
Python is no longer installed implicitly, but the QEMU build system requires it. List it in PACKAGES.
Reported-by Auger Eric <[email protected]>Signed-off-by Fam Zheng <[email protected]>
Thanks!
Eric
Quoted 17 lines
--- tests/docker/dockerfiles/fedora.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/docker/dockerfiles/fedora.docker +1
-1@@ -1,6 +1,6 @@ FROM fedora:latest ENV PACKAGES \ - ccache git tar PyYAML sparse flex bison \ + ccache git tar PyYAML sparse flex bison python2 \ glib2-devel pixman-devel zlib-devel SDL-devel libfdt-devel \ gcc gcc-c++ clang make perl which bc findutils \ mingw32-pixman mingw32-glib2 mingw32-gmp mingw32-SDL mingw32-pkg-config \
Quoted 2 lines · Fam Zheng
Python is no longer installed implicitly, but the QEMU build system requires it. List it in PACKAGES.
Doesn't fedora have a similar system to dpkg's build-deps that we should use to install dependencies?
Quoted 12 lines
Reported-by Auger Eric <[email protected]>Signed-off-by Fam Zheng <[email protected]>--- tests/docker/dockerfiles/fedora.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/docker/dockerfiles/fedora.docker +0
-0
tests/docker/dockerfiles/fedora.docker line 6
Quoted 7 lines
tests/docker/dockerfiles/fedora.docker +1
-1@@ -1,6 +1,6 @@ FROM fedora:latest ENV PACKAGES \ - ccache git tar PyYAML sparse flex bison \ + ccache git tar PyYAML sparse flex bison python2 \ glib2-devel pixman-devel zlib-devel SDL-devel libfdt-devel \ gcc gcc-c++ clang make perl which bc findutils \ mingw32-pixman mingw32-glib2 mingw32-gmp mingw32-SDL mingw32-pkg-config \
--
Alex Bennée
Quoted 8 lines · Alex Bennée
Quoted 2 lines · Fam Zheng
Python is no longer installed implicitly, but the QEMU build system requires it. List it in PACKAGES.
Doesn't fedora have a similar system to dpkg's build-deps that we should use to install dependencies?
It does, but I'm not sure how to generate PACKAGES out of that, for the SHOW_ENV feature.
Fam
Fam Zheng
AppliedQuoted 24 lines · Fam Zheng
Python is no longer installed implicitly, but the QEMU build system requires it. List it in PACKAGES.
Reported-by Auger Eric <[email protected]>Signed-off-by Fam Zheng <[email protected]>--- tests/docker/dockerfiles/fedora.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/docker/dockerfiles/fedora.docker +1
-1@@ -1,6 +1,6 @@ FROM fedora:latest ENV PACKAGES \ - ccache git tar PyYAML sparse flex bison \ + ccache git tar PyYAML sparse flex bison python2 \ glib2-devel pixman-devel zlib-devel SDL-devel libfdt-devel \ gcc gcc-c++ clang make perl which bc findutils \ mingw32-pixman mingw32-glib2 mingw32-gmp mingw32-SDL mingw32-pkg-config \Signature · 1 line
2.9.3
Applied to my staging tree.
Fam