Skip to content

Commit

Permalink
Docker: Really fix version generator
Browse files Browse the repository at this point in the history
ninja must be executed with git mounted too.
  • Loading branch information
orgads committed Sep 10, 2024
1 parent 4ba48c5 commit fcd8f34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fcd8f34

Please sign in to comment.