crops / yocto-dockerfiles

This repository is for -base and -builder containers for building derivative containers (such as poky-container) for containerized Yocto Project builds.
GNU General Public License v2.0
147 stars 56 forks source link

miss python3-pip package #79

Closed lijenchen closed 6 months ago

lijenchen commented 2 years ago

I try to search the Dockerfile for ubuntu and use docker history for check that the package python3-pip should be installed. I could not find it in the docker container while I try to use pip3 command, but the Dockerfile with install python3-pip option. what's wrong with python3-pip package?

my steps docker pull crops/yocto:ubuntu-22.04-base docker history crops/yocto:ubuntu-22.04-base --no-trunc -H --format "table {{.CreatedBy}}\t" docker run --rm -it crops/yocto:ubuntu-22.04-base bash dpkg -l | grep python3 | grep pip

sbarthelemy commented 1 year ago

but the Dockerfile with install python3-pip option.

Yes, it is installed at this line.

But later on, the build-install-dumb-init.sh script runs. Which will reinstall (no-op) then remove python3-pip.

It looks like a bug to me.