As the previous reply stated… You can install the packages needed after the container is up… If you want the
packages installed at runtime then look into creating your own image to use. You can baseline from nginix.
Then add your packages… See references to Dockerfile or simple google finds this…
1 Like