A docker image contains haproxy and confd
First you may build the confd binary file for alpine according to this as we user the alpine version of the haproxy docker image. And then copy the confd you built to the main dir of this project and execute:
docker build -t haproxy_confd .
Or even you may modify the Dockerfile as you will.