Skip to content

Commit a3ed9df

Browse files
authored
Merge pull request #424 from antoineVIVIES/master
FIX Dockerfile with go mod
2 parents 53905ca + 7b70488 commit a3ed9df

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
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)