'How do I remove a directory inside container with JIB?

If it is a docker file, I want to remove the directory by executing the following command.

RUN rm /usr/bin/wget

How can I do it? any help is appreciated



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source