# Install compiler and dependencies
RUN apk --update --no-cache add build-base autoconf automake pkgconfig jansson-dev check-dev \
- openssl-dev openssl bsd-compat-headers rsync wget curl-dev libxml2 libxml2-dev
+ openssl-dev openssl bsd-compat-headers rsync wget curl-dev libxml2 libxml2-dev libmicrohttpd-dev
# Download FORT source code
WORKDIR /root
FROM alpine:latest
# Install dependencies
-RUN apk --update --no-cache add openssl jansson rsync tini libxml2 libcurl rtrlib
+RUN apk --update --no-cache add openssl jansson rsync tini libxml2 libcurl rtrlib libmicrohttpd
# Install FORT
COPY --from=builder /usr/local/bin/fort /usr/local/bin/fort
RUN mkdir -p /var/local/fort && mkdir -p /etc/fort/tal
# Create default configuration
-RUN yes yes | fort --init-tals --tal /etc/fort/tal
+RUN fort --init-tals --tal /etc/fort/tal
RUN echo '{ "tal":"/etc/fort/tal", "local-repository":"/var/local/fort" }' > /etc/fort/fort.conf