Skip to content

Commit f84da4b

Browse files
antoineVIVIESkgretzky
authored andcommitted
FIX Dockerfile with go mod
1 parent 4abfbc5 commit f84da4b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.10.3-alpine AS build
1+
FROM golang:1.13.1-alpine as build
22

33
RUN apk add --update \
44
git \
@@ -8,9 +8,11 @@ RUN wget -O /usr/local/bin/dep https://github.com/golang/dep/releases/download/v
88

99
WORKDIR /go/src/github.com/kgretzky/evilginx2
1010

11-
COPY Gopkg.toml Gopkg.lock ./
11+
COPY go.mod go.sum ./
1212

13-
RUN dep ensure -vendor-only
13+
ENV GO111MODULE on
14+
15+
RUN go mod download
1416

1517
COPY . /go/src/github.com/kgretzky/evilginx2
1618

0 commit comments

Comments
 (0)