Update alpine version
This commit is contained in:
parent
f059c0b208
commit
f0845f4afe
12 changed files with 21 additions and 23 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM golang:alpine as gobuild
|
||||
FROM golang:1.17-alpine3.15 as gobuild
|
||||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
|
|
@ -6,11 +6,10 @@ WORKDIR /go/src/arp-spoofer
|
|||
|
||||
ADD cmd ./
|
||||
|
||||
RUN go get -d -v
|
||||
RUN go build -v
|
||||
RUN go build -v -ldflags="-s -w" -o arp-spoofer
|
||||
|
||||
|
||||
FROM alpine
|
||||
FROM alpine:3.15
|
||||
MAINTAINER Pierre-Olivier Mercier <nemunaire@nemunai.re>
|
||||
|
||||
COPY --from=gobuild /go/src/arp-spoofer/arp-spoofer /bin/arp-spoofer
|
||||
|
|
|
|||
Reference in a new issue