File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # OCI Secrets Store CSI Driver Provider
3+ #
4+ # Copyright (c) 2022 Oracle America, Inc. and its affiliates.
5+ # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
6+ #
7+
8+ FROM golang:1.19 as build
9+
10+ WORKDIR /provider-src
11+
12+ # Copy provider sources
13+ COPY go.mod go.sum Makefile ./
14+ COPY cmd ./cmd
15+ COPY internal ./internal
16+ COPY vendor ./vendor
17+
18+ # Build provider
19+ RUN make test build
20+
21+ FROM oraclelinux:7-slim
22+
23+ LABEL author="OKE Foundations Team"
24+
25+ COPY --from=build /provider-src/dist/provider /opt/provider/bin/provider
26+
27+ # copy license files
28+ COPY LICENSE.txt /opt/provider/licenses/LICENSE.txt
29+ COPY THIRD_PARTY_LICENSES.txt /opt/provider/licenses/THIRD_PARTY_LICENSES.txt
30+
31+ # Note that the provider container should run as root in order to
32+ # mount the Kubernetes hostPath volume and create Unix Domain Socket in that volume.
33+
34+ WORKDIR /opt/provider
35+
36+ ENTRYPOINT ["/opt/provider/bin/provider" ]
You can’t perform that action at this time.
0 commit comments