Skip to content

Commit

Permalink
Upgrade to dnsmasq 2.89-r5 and alpine 3.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
blu3r4y committed Jun 29, 2023
1 parent 53e248f commit ec6e9ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
FROM alpine:3.17.0 AS builder
FROM alpine:3.18.2 AS builder

RUN apk add alpine-sdk && \
wget http://www.unixwiz.net/tools/nbtscan-source-1.0.35.tgz && \
tar zxvf nbtscan-source-1.0.35.tgz && \
make

FROM alpine:3.17.0
FROM alpine:3.18.2

WORKDIR /home

COPY --from=builder /nbtscan /usr/bin/nbtscan
COPY run.sh netbios_scanner.sh ./

RUN apk add --no-cache "dnsmasq=2.87-r0" && \
RUN apk add --no-cache "dnsmasq=2.89-r5" && \
echo "addn-hosts=/etc/hosts.netbios" > /etc/dnsmasq.conf && \
echo "conf-dir=/etc/dnsmasq,*.conf" >> /etc/dnsmasq.conf && \
chmod 755 /usr/bin/nbtscan && \
Expand Down

0 comments on commit ec6e9ac

Please sign in to comment.