Skip to content

Commit

Permalink
Upgrade to dnsmasq 2.90-r2 and alpine 3.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
blu3r4y committed Apr 12, 2024
1 parent ec6e9ac commit e96f09c
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.18.2 AS builder
FROM alpine:3.19.1 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.18.2
FROM alpine:3.19.1

WORKDIR /home

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

RUN apk add --no-cache "dnsmasq=2.89-r5" && \
RUN apk add --no-cache "dnsmasq=2.90-r2" && \
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 e96f09c

Please sign in to comment.