X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=cmd%2Fbpa-restapi-agent%2Fbuild%2FDockerfile;h=4fda26af99b99d5bec8e337bcfe7c89d3f1b70d9;hb=250d4db0014929adb499372a866cf45a47450681;hp=321208ca4a0a99b18027bc283894e53a5cbe9a98;hpb=d044b7f516e10eecdb313b1f003185326a1f29c8;p=icn.git diff --git a/cmd/bpa-restapi-agent/build/Dockerfile b/cmd/bpa-restapi-agent/build/Dockerfile index 321208c..4fda26a 100644 --- a/cmd/bpa-restapi-agent/build/Dockerfile +++ b/cmd/bpa-restapi-agent/build/Dockerfile @@ -1,11 +1,11 @@ -FROM golang:1-12 AS builder +FROM golang:1.12 AS builder RUN mkdir /bpa-restapi-agent ADD . /bpa-restapi-agent WORKDIR /bpa-restapi-agent RUN make build -FROM golang:1-12 +FROM golang:1.12 COPY --from=builder /bpa-restapi-agent/build/_output/bin/bpa-restapi-agent /bpa-restapi-agent