Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Commit 899fd9b

Browse files
committed
Fix Dockerfile
1 parent 8902f68 commit 899fd9b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
FROM golang:1.12-stretch as builder
1+
FROM golang:1.12.4-stretch as builder
22

3+
ENV GO111MODULE on
34
WORKDIR /go/src/github.com/ProgrammingLab/prolab-accounts
45

5-
RUN curl -Lo grapi https://github.com/izumin5210/grapi/releases/download/v0.3.2/grapi_linux_amd64
6+
RUN curl -Lo grapi https://github.com/izumin5210/grapi/releases/download/v0.4.0/grapi_linux_amd64
67
RUN chmod +x grapi
7-
RUN go get -v -u github.com/golang/dep/cmd/dep
88

99
COPY . .
10-
RUN dep ensure -v -vendor-only
1110
RUN ./grapi build
1211

1312
FROM gcr.io/distroless/base

0 commit comments

Comments
 (0)