Reduce the size of libatlas-base-dev in the Docker Image

  apt, docker

Currently I am creating a Docker image with python. To import the numpy module in python, libatlas-base-dev is needed.
Therefore, I have the following statement in my Dockerfile:

RUN apt-get update 
   && apt-get -y install libatlas-base-dev

However, this statement causes the Docker image (.tar-file) to increase in size by 45 MB.
Is there any way to make this slightly smaller?

Source: Docker Questions

LEAVE A COMMENT