Skip to content

Commit

Permalink
FIX Dockerfile with go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineVIVIES committed Nov 27, 2019
1 parent 99f83c3 commit 7b70488
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.10.3-alpine AS build
FROM golang:1.13.1-alpine as build

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

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

COPY Gopkg.toml Gopkg.lock ./
COPY go.mod go.sum ./

RUN dep ensure -vendor-only
ENV GO111MODULE on

RUN go mod download

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

Expand Down

0 comments on commit 7b70488

Please sign in to comment.