]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Update Docker main
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 23 Sep 2025 18:04:23 +0000 (12:04 -0600)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Tue, 23 Sep 2025 18:04:23 +0000 (12:04 -0600)
docker/Dockerfile

index ac1328fb283e0e053dbe52bfe6343159054797c3..bc7dc9abbad1c738fc2191c464b8874fec3e6590 100644 (file)
@@ -4,7 +4,7 @@ ARG FORT_VERSION=1.6.7
 
 # 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
@@ -20,7 +20,7 @@ RUN ./configure && make && make install
 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
@@ -30,7 +30,7 @@ COPY --from=builder /usr/local/share/man/man8/fort.8 /usr/local/share/man/man8/f
 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