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

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gedorinku committed Apr 17, 2019
1 parent 8902f68 commit 899fd9b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM golang:1.12-stretch as builder
FROM golang:1.12.4-stretch as builder

ENV GO111MODULE on
WORKDIR /go/src/github.com/ProgrammingLab/prolab-accounts

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

COPY . .
RUN dep ensure -v -vendor-only
RUN ./grapi build

FROM gcr.io/distroless/base
Expand Down

0 comments on commit 899fd9b

Please sign in to comment.