diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index 0f9435e42eea5b0c9afb3d930cbe74792fff6bf6..2ab7c7e66ce624c3f2513a6ece6fb19047ce78cf 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -2,7 +2,7 @@ FROM alpine:edge
 MAINTAINER Marek Vavrusa <marek.vavrusa@nic.cz>
 
 # Environment
-ENV BUILD_PKGS build-base automake autoconf libtool pkgconfig git luajit-dev libuv-dev gnutls-dev jansson-dev userspace-rcu-dev curl vim
+ENV BUILD_PKGS build-base automake autoconf libtool pkgconfig git luajit-dev libuv-dev gnutls-dev jansson-dev userspace-rcu-dev curl vim bsd-compat-headers
 ENV RUN_PKGS luajit libuv gnutls jansson bash
 ENV BUILD_IGNORE gmp nettle jansson gnutls lua libuv cmocka
 ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig