Skip to content

Commit 43486f9

Browse files
committed
Update Docker
1 parent 674b69c commit 43486f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG FORT_VERSION=1.6.7
44

55
# Install compiler and dependencies
66
RUN apk --update --no-cache add build-base autoconf automake pkgconfig jansson-dev check-dev \
7-
openssl-dev openssl bsd-compat-headers rsync wget curl-dev libxml2 libxml2-dev
7+
openssl-dev openssl bsd-compat-headers rsync wget curl-dev libxml2 libxml2-dev libmicrohttpd-dev
88

99
# Download FORT source code
1010
WORKDIR /root
@@ -20,7 +20,7 @@ RUN ./configure && make && make install
2020
FROM alpine:latest
2121

2222
# Install dependencies
23-
RUN apk --update --no-cache add openssl jansson rsync tini libxml2 libcurl rtrlib
23+
RUN apk --update --no-cache add openssl jansson rsync tini libxml2 libcurl rtrlib libmicrohttpd
2424

2525
# Install FORT
2626
COPY --from=builder /usr/local/bin/fort /usr/local/bin/fort
@@ -30,7 +30,7 @@ COPY --from=builder /usr/local/share/man/man8/fort.8 /usr/local/share/man/man8/f
3030
RUN mkdir -p /var/local/fort && mkdir -p /etc/fort/tal
3131

3232
# Create default configuration
33-
RUN yes yes | fort --init-tals --tal /etc/fort/tal
33+
RUN fort --init-tals --tal /etc/fort/tal
3434
RUN echo '{ "tal":"/etc/fort/tal", "local-repository":"/var/local/fort" }' > /etc/fort/fort.conf
3535

3636

0 commit comments

Comments
 (0)