X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=cmd%2Fbpa-restapi-agent%2Fbuild%2FDockerfile;h=9be9b068f5bbd44af0679773d92b1e084f456b7c;hb=e7e71a03c35316cfc4279f19bcaaca73fea339d0;hp=33a6c5f54cb9d1a0860a1890afd343399162ba10;hpb=f863cd9c51cdfccc3996bedfd650c147d095eea3;p=icn.git diff --git a/cmd/bpa-restapi-agent/build/Dockerfile b/cmd/bpa-restapi-agent/build/Dockerfile index 33a6c5f..9be9b06 100644 --- a/cmd/bpa-restapi-agent/build/Dockerfile +++ b/cmd/bpa-restapi-agent/build/Dockerfile @@ -1,11 +1,11 @@ -FROM registry.svc.ci.openshift.org/openshift/release:golang-1.12 AS builder +FROM golang:1.13 AS builder RUN mkdir /bpa-restapi-agent ADD . /bpa-restapi-agent WORKDIR /bpa-restapi-agent RUN make build -FROM registry.svc.ci.openshift.org/openshift/release:golang-1.12 +FROM golang:1.13 COPY --from=builder /bpa-restapi-agent/build/_output/bin/bpa-restapi-agent /bpa-restapi-agent