diff --git a/Dockerfile b/Dockerfile
index 872002628cc6905f1210169063c9fa249ac56c32..d533af0c6f013f01126070ad007bc28b688d8bdf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,7 @@ WORKDIR /app
 # add the current directory to the container as /app
 ADD . /app
 # Perform build and cleanup artifacts
-RUN pip install mkdocs && pip install mkdocs-material && pip install plantuml-markdown
+RUN apk add --no-cache --virtual .build gcc musl-dev && pip install mkdocs && pip install mkdocs-material && pip install plantuml-markdown && apk del .build gcc musl-dev
 
 # build the documentation site
 RUN mkdocs build