Skip to content

Commit

Permalink
Add git to the static build Dockerfiles, so that version.h is generat…
Browse files Browse the repository at this point in the history
…ed correctly (#625)
  • Loading branch information
rkday committed May 19, 2023
1 parent 22812bb commit 953b2b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:3.10

RUN apk add --no-cache binutils make cmake gcc g++ ncurses-static libpcap-dev ncurses-dev gsl-dev
RUN apk add --no-cache binutils make cmake gcc g++ ncurses-static libpcap-dev ncurses-dev gsl-dev git

CMD cd /src && rm -f CMakeCache.txt && cmake . -DBUILD_STATIC=1 -DUSE_PCAP=1 -DUSE_GSL=1 && make
1 change: 1 addition & 0 deletions docker/Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apk add --no-cache \
cmake \
gcc \
g++ \
git \
ncurses-dev \
ncurses-static \
libpcap-dev \
Expand Down

0 comments on commit 953b2b8

Please sign in to comment.