diff --git a/Dockerfile b/Dockerfile
index f88852bf53ad65c188d6289db497f7d6578cb24c..8cbca7e20d82c066e1e44eb8d9e5609e64d6ead6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
 
 # Install system dependencies and clean up in one layer
 COPY apt.txt /tmp/apt.txt
-RUN apt -qq update && apt -qq install -y --no-install-recommends `cat /tmp/apt.txt` locales wget \
+RUN apt -qq update && apt -qq install -y --no-install-recommends `cat /tmp/apt.txt` locales wget build-essential \
     && locale-gen en_US.UTF-8 \
     && rm -rf /var/cache/apt/* /var/lib/apt/lists/* \
     && apt clean