correct directory for local FTL binary

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner
2024-08-14 17:57:05 +01:00
parent 1c7d276aa2
commit 353094cf43

View File

@@ -86,7 +86,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then FTLARCH=amd64; \
&& readelf -h /usr/bin/pihole-FTL || cat /usr/bin/pihole-FTL && readelf -h /usr/bin/pihole-FTL || cat /usr/bin/pihole-FTL
FROM base AS local-ftl-install FROM base AS local-ftl-install
# pihole-FTL must be built from source and copied to the build directory first! # pihole-FTL must be built from source and copied to the src directory first!
COPY --chmod=0755 pihole-FTL /usr/bin/pihole-FTL COPY --chmod=0755 pihole-FTL /usr/bin/pihole-FTL
# Use the appropriate FTL Install stage based on the FTL_SOURCE build-arg # Use the appropriate FTL Install stage based on the FTL_SOURCE build-arg