Adding TLS authentication
[icn.git] / cmd / bpa-restapi-agent / build / Dockerfile
1 FROM registry.svc.ci.openshift.org/openshift/release:golang-1.12 AS builder
2 RUN mkdir /bpa-restapi-agent
3 ADD . /bpa-restapi-agent
4 WORKDIR /bpa-restapi-agent
5
6 RUN make build
7
8 FROM registry.svc.ci.openshift.org/openshift/release:golang-1.12
9
10 COPY --from=builder /bpa-restapi-agent/build/_output/bin/bpa-restapi-agent /bpa-restapi-agent
11
12 ENTRYPOINT ["/bpa-restapi-agent"]