diff --git a/Dockerfile.python b/Dockerfile.python
index ebcc7d779129bb0878a5234cd1bc82127e416034..dd7edc3b54a4400471a131bf0c9cc1e5d07d3215 100644
--- a/Dockerfile.python
+++ b/Dockerfile.python
@@ -34,6 +34,7 @@ RUN apt-get update \
      libtiff-dev \
      xorg-dev \
      libx11-dev \
+     logrotate \
  && rm -rf /var/lib/apt/lists/*
 
 # Upgrade pip and install wheel, shiny :
diff --git a/Dockerfile.r b/Dockerfile.r
index 1b62edcd1aa9cb49d58b2c67cb51ce7d947af6e2..930979b4ab767d240cd23a6fd24c67ca66feb363 100644
--- a/Dockerfile.r
+++ b/Dockerfile.r
@@ -32,6 +32,7 @@ RUN apt-get update \
         libtiff-dev \
         xorg-dev \
         libx11-dev \
+        logrotate \
  && rm -rf /var/lib/apt/lists/*
 
 # Copy only this installation script so new R package won't invalidate it installation