Skip to content

Commit c5b87ae

Browse files
authored
Merge pull request #319 from oracle/sync_with_internal
Cherry pick commits from internal repo
2 parents 89bc79c + 3884bc9 commit c5b87ae

File tree

16,187 files changed

+462309
-3853694
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

16,187 files changed

+462309
-3853694
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ config.yaml
4747
.wercker/
4848

4949
.idea/
50+
*.iml

Dockerfile

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,26 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
ARG CI_IMAGE_REGISTRY
16+
17+
FROM ${CI_IMAGE_REGISTRY}/oci-kube-ci:1.0.4
18+
19+
ARG COMPONENT
20+
21+
ENV SRC /go/src/github.com/oracle/oci-cloud-controller-manager
22+
23+
ENV GOPATH /go/
24+
RUN mkdir -p /go/bin $SRC
25+
ADD . $SRC
26+
WORKDIR $SRC
27+
28+
RUN COMPONENT=${COMPONENT} make clean build
29+
1530
FROM oraclelinux:7-slim
1631

17-
COPY dist/oci-cloud-controller-manager /usr/local/bin/
18-
COPY dist/oci-flexvolume-driver /usr/local/bin/
19-
COPY dist/oci-volume-provisioner /usr/local/bin/
20-
COPY image/* /usr/local/bin/
32+
COPY --from=0 /go/src/github.com/oracle/oci-cloud-controller-manager/dist/* /usr/local/bin/
33+
COPY --from=0 /go/src/github.com/oracle/oci-cloud-controller-manager/image/* /usr/local/bin/
34+
35+
RUN yum install -y iscsi-initiator-utils-6.2.0.874-10.0.5.el7 \
36+
&& yum install -y e2fsprogs \
37+
&& yum clean all

0 commit comments

Comments
 (0)