mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
new: updated docker image to newer golang version
This commit is contained in:
parent
414d18a6da
commit
47077d877c
1 changed files with 2 additions and 2 deletions
4
Dockerfile
vendored
4
Dockerfile
vendored
|
@ -1,5 +1,5 @@
|
||||||
# build stage
|
# build stage
|
||||||
FROM golang:1.22-alpine3.20 AS build-env
|
FROM golang:1.24-alpine AS build-env
|
||||||
|
|
||||||
RUN apk add --no-cache ca-certificates
|
RUN apk add --no-cache ca-certificates
|
||||||
RUN apk add --no-cache bash gcc g++ binutils-gold iptables wireless-tools build-base libpcap-dev libusb-dev linux-headers libnetfilter_queue-dev git
|
RUN apk add --no-cache bash gcc g++ binutils-gold iptables wireless-tools build-base libpcap-dev libusb-dev linux-headers libnetfilter_queue-dev git
|
||||||
|
@ -13,7 +13,7 @@ RUN mkdir -p /usr/local/share/bettercap
|
||||||
RUN git clone https://github.com/bettercap/caplets /usr/local/share/bettercap/caplets
|
RUN git clone https://github.com/bettercap/caplets /usr/local/share/bettercap/caplets
|
||||||
|
|
||||||
# final stage
|
# final stage
|
||||||
FROM alpine:3.20
|
FROM alpine
|
||||||
RUN apk add --no-cache ca-certificates
|
RUN apk add --no-cache ca-certificates
|
||||||
RUN apk add --no-cache bash iproute2 libpcap libusb-dev libnetfilter_queue wireless-tools iw
|
RUN apk add --no-cache bash iproute2 libpcap libusb-dev libnetfilter_queue wireless-tools iw
|
||||||
COPY --from=build-env /go/src/github.com/bettercap/bettercap/bettercap /app/
|
COPY --from=build-env /go/src/github.com/bettercap/bettercap/bettercap /app/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue