Hi,
When removing /usr/src/python the current working directory is also the directory being removed. This causes subsequent commands to complain about not being able to locate the current working directory.
|
&& make install \ |
|
&& rm -rf /usr/src/python \ |
As a potential fix, changing the current working directory to / would prevent these warnings :
&& make install \
&& cd / \
&& rm -rf /usr/src/python \
I guess this is mostly a cosmetic change but I'm not sure if the warnings could cause problems with the commands after.
Hi,
When removing
/usr/src/pythonthe current working directory is also the directory being removed. This causes subsequent commands to complain about not being able to locate the current working directory.python/3.8/buster/slim/Dockerfile
Lines 75 to 76 in 6e97890
As a potential fix, changing the current working directory to / would prevent these warnings :
I guess this is mostly a cosmetic change but I'm not sure if the warnings could cause problems with the commands after.