Code: Select all
RUN apt update && apt upgrade -y
With a system like Centos, how do you update the packages and all the system modules? Can you also clean up the system to prevent the used space from growing excessively?
The image I'm manipulating is this:
https://hub.docker.com/layers/pgadmin4/ ... xt=explore
Unfortunately I can't find the OS on which the image is built written.
I've also tried these codes but they don't work.
Code: Select all
RUN yum -y update
RUN yum clean all