Like, i am using dockerfile to build image from one baseimage i have. Contents of Dockerfile are like: step 1) FROM baseimage step 2) RUN tdnf install curl
after running dockerfile, many layers have been created, so main concern is that i have to ignore/remove previous older layers from baseimage(step1) which are having some unwanted libs files, and they are getting included in my final layer. Can someone suggest what could be appropriate approach?