From 6cd978cf64fa40cbae075c43ca3adc8dfae0e462 Mon Sep 17 00:00:00 2001 From: pco Date: Mon, 16 Mar 2026 11:00:46 +0100 Subject: [PATCH 1/2] fixed `Dockerfile` for new `fxconfig` path Signed-off-by: pco --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 68e35d2..b41a535 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,10 +27,10 @@ RUN go mod download COPY . . # Build the binaries -RUN mkdir -p /tmp/bin && \ - for tool in $FABRICX_TOOLS; do \ - go build -o /tmp/bin/$tool ./tools/$tool; \ - done +RUN go build -o /tmp/bin/configtxgen ./tools/configtxgen +RUN go build -o /tmp/bin/cryptogen ./tools/cryptogen +RUN go build -o /tmp/bin/configtxlator ./tools/configtxlator +RUN go build -o /tmp/bin/fxconfig ./tools/fxconfig/cmd ########################################### # Stage 2: Production runtime image From c07b4d8c0cb6f7a2bb0d19d2572a397907dd3df0 Mon Sep 17 00:00:00 2001 From: pco Date: Mon, 16 Mar 2026 11:25:00 +0100 Subject: [PATCH 2/2] removed unused var Signed-off-by: pco --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b41a535..8088e85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,6 @@ ########################################### FROM golang:1.25 AS builder -# List of CLI tools to build -ARG FABRICX_TOOLS="configtxgen cryptogen configtxlator fxconfig" - # Build environment variables ENV CGO_ENABLED=1 ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"