diff --git a/Dockerfile b/Dockerfile
index cc45e9e76eeb483f73a6301279fb9c88acb24e48..33c1838d1a20aa32682c0b424cd50f18d549d897 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,9 @@ FROM alpine:edge
 
 # RUN apt-get update -y && apt-get install -y pandoc pandoc-data
 
-RUN apk add texlive-full hugo
+RUN apk add ttf-linux-libertine
+RUN apk add texlive-full
+RUN apk add hugo git ttf-linux-libertine
 
 RUN apk add ca-certificates wget \
   && wget -O /tmp/pandoc.tar.gz https://github.com/jgm/pandoc/releases/download/2.7.3/pandoc-2.7.3-linux.tar.gz \
@@ -11,7 +13,6 @@ RUN apk add ca-certificates wget \
   && apk del wget \
   && rm /tmp/pandoc.tar.gz
 
-RUN apk add git ttf-linux-libertine
 
 # RUN wget -q https://github.com/gohugoio/hugo/releases/download/v0.55.6/hugo_0.55.6_Linux-64bit.deb -O /tmp/hugo.deb && dpkg -i /tmp/hugo.deb