diff --git a/cmd/loki/Dockerfile b/cmd/loki/Dockerfile
index 73467eceda30cd2ed5382c5792e0d76810534183..feb074da4a5617efd57d77b3dc96abb678bece9c 100644
--- a/cmd/loki/Dockerfile
+++ b/cmd/loki/Dockerfile
@@ -1,5 +1,5 @@
-FROM       alpine:3.4
-RUN        apk add --update --no-cache ca-certificates && rm /var/cache/apk/*
+FROM       alpine:3.9
+RUN        apk add --update --no-cache ca-certificates
 COPY       loki /bin/loki
 COPY       loki-local-config.yaml /etc/loki/local-config.yaml
 EXPOSE     80
diff --git a/cmd/promtail/Dockerfile b/cmd/promtail/Dockerfile
index c586fcce5df8b8e0b9f8f004e9b56aa74d72676a..136672534b7424426bfe83251a248f498c70b3b1 100644
--- a/cmd/promtail/Dockerfile
+++ b/cmd/promtail/Dockerfile
@@ -1,5 +1,5 @@
-FROM       alpine:3.4
-RUN        apk add --update --no-cache ca-certificates && rm /var/cache/apk/*
+FROM       alpine:3.9
+RUN        apk add --update --no-cache ca-certificates
 ADD        promtail /usr/bin
 COPY       promtail-local-config.yaml /etc/promtail/local-config.yaml
 COPY       promtail-docker-config.yaml /etc/promtail/docker-config.yaml