-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b60e06
commit 3a46cee
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,17 @@ FROM finchsec/kali:base as builder | |
# hadolint ignore=DL3005,DL3008,DL3015 | ||
RUN apt-get update && \ | ||
apt-get dist-upgrade -y && \ | ||
apt-get install ca-certificates git gcc make libc6-dev -y --no-install-recommends | ||
apt-get install ca-certificates git gcc make libc6-dev libpcap-dev -y --no-install-recommends | ||
RUN git clone https://github.com/ZerBea/hcxdumptool | ||
WORKDIR /hcxdumptool | ||
RUN make | ||
|
||
FROM finchsec/kali:base | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
# hadolint ignore=DL3005,DL3008 | ||
RUN apt-get update && \ | ||
apt-get dist-upgrade -y && \ | ||
apt-get install libpcap0.8 -y --no-install-recommends && \ | ||
rm -rf /var/lib/dpkg/status-old /var/lib/apt/lists/* | ||
COPY --from=builder /hcxdumptool/hcxdumptool /usr/local/sbin/ | ||
CMD [ "/usr/local/sbin/hcxdumptool" ] |