Working on a Dockerfile in order to build a WordPress image

I’m a newbie using Docker, and I don’t understand something. If I’m using the official Dockerfile used to build the official WordPress image, we start with:

FROM php:5.6-apache  

Then, to install extensions and models we have to use:

Read More
RUN apt-get [install or Update]  

My question is: Why we are using apt-get if we are not specifying in FROM that our image is a Debian based distro? Could I use yum?

Related posts

Leave a Reply

1 comment