Skip to content

Commit

Permalink
Add dirty status to Dockerfile. (#39)
Browse files Browse the repository at this point in the history
Change v6 address in pcap file.
  • Loading branch information
pboothe authored Mar 3, 2020
1 parent e014a32 commit ccfb2ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apk --no-cache add libpcap-dev git gcc libc-dev
COPY . /go/src/github.com/m-lab/packet-headers
WORKDIR /go/src/github.com/m-lab/packet-headers
RUN go get -v \
-ldflags "-X github.com/m-lab/go/prometheusx.GitShortCommit=$(git log -1 --format=%h)" \
-ldflags "-X github.com/m-lab/go/prometheusx.GitShortCommit=$(git log -1 --format=%h)$(git diff --quiet || echo dirty)" \
.
RUN chmod a+rx /go/bin/packet-headers

Expand Down
Binary file modified testdata/v6.pcap
Binary file not shown.

0 comments on commit ccfb2ce

Please sign in to comment.