mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 04:59:25 -07:00
Merge pull request #988 from tranzmatt/master
Fix go/alpine Docker version to correct build breakage
This commit is contained in:
commit
24a5dfe48f
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
# build stage
|
# build stage
|
||||||
FROM golang:alpine AS build-env
|
FROM golang:1.16-alpine3.15 AS build-env
|
||||||
|
|
||||||
ENV SRC_DIR $GOPATH/src/github.com/bettercap/bettercap
|
ENV SRC_DIR $GOPATH/src/github.com/bettercap/bettercap
|
||||||
|
|
||||||
|
@ -15,7 +15,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
|
FROM alpine:3.15
|
||||||
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
|
RUN apk add --no-cache bash iproute2 libpcap libusb-dev libnetfilter_queue wireless-tools
|
||||||
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