diff --git a/packaging/rpm/Dockerfile b/packaging/rpm/Dockerfile
index b946e6b1a85b26c9cedc1976d57478e96d1d7ac4..775aa47939c3ef0ba9861ef3016aeb80b1ae48a7 100644
--- a/packaging/rpm/Dockerfile
+++ b/packaging/rpm/Dockerfile
@@ -1,4 +1,5 @@
 FROM golang:1 AS build
+ENV CGO_ENABLED=0
 ADD . /go/src/app
 WORKDIR /go/src/app
 RUN make miniflux