Skip to content

Commit d252307

Browse files
committed
Print FTL version also when building the image
Signed-off-by: yubiuser <github@yubiuser.dev>
1 parent 0020492 commit d252307

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then FTLARCH=amd64; \
9696
&& if [ "${FTL_BRANCH}" = "master" ]; then URL="https://github.com/pi-hole/ftl/releases/latest/download"; else URL="https://ftl.pi-hole.net/${FTL_BRANCH}"; fi \
9797
&& curl -sSL "${URL}/pihole-FTL-${FTLARCH}" -o /usr/bin/pihole-FTL \
9898
&& chmod +x /usr/bin/pihole-FTL \
99-
&& readelf -h /usr/bin/pihole-FTL || (echo "Error with downloaded FTL binary" && exit 1)
99+
&& readelf -h /usr/bin/pihole-FTL || (echo "Error with downloaded FTL binary" && exit 1) \
100+
&& /usr/bin/pihole-FTL -vv
100101

101102
FROM base AS local-ftl-install
102103
# pihole-FTL must be built from source and copied to the src directory first!

0 commit comments

Comments
 (0)