From fcd8f34184214ba73f9424630ee2a40f670e8bdc Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Tue, 10 Sep 2024 09:49:25 +0300 Subject: [PATCH] Docker: Really fix version generator ninja must be executed with git mounted too. --- docker/Dockerfile | 4 ++-- docker/Dockerfile.full | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 66138b42..3c1e0541 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -29,8 +29,8 @@ RUN --mount=type=bind,target=.git,source=.git \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_STATIC=1 \ -DUSE_PCAP=1 \ - -DUSE_GSL=1 -RUN ninja + -DUSE_GSL=1 && \ + ninja FROM scratch AS bin COPY --from=build /sipp/sipp /sipp diff --git a/docker/Dockerfile.full b/docker/Dockerfile.full index d2be6f0a..1217afe9 100644 --- a/docker/Dockerfile.full +++ b/docker/Dockerfile.full @@ -36,8 +36,8 @@ RUN --mount=type=bind,target=.git,source=.git \ -DUSE_PCAP=1 \ -DUSE_GSL=1 \ -DUSE_SSL=1 \ - -DUSE_SCTP=1 -RUN ninja + -DUSE_SCTP=1 && \ + ninja FROM scratch AS bin COPY --from=build /sipp/sipp /sipp