File tree 8 files changed +23
-96
lines changed
test/e2e/e2e-test-image-build
8 files changed +23
-96
lines changed Original file line number Diff line number Diff line change @@ -56,3 +56,6 @@ config.yaml
56
56
input_ocibuild /
57
57
output_ocibuild_dockerize_ccm /
58
58
output_ocibuild_dockerize_ccm_arm /
59
+
60
+ # ignore Dockerfile under vendor
61
+ vendor /** /Dockerfile
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ REGISTRY ?= odo-docker-signed-local.artifactory.oci.oraclecorp.com
33
33
IMAGE ?= $(REGISTRY ) /oke-public-cloud-provider-oci
34
34
COMPONENT ?= oci-cloud-controller-manager oci-volume-provisioner oci-flexvolume-driver cloud-provider-oci oci-csi-controller-driver oci-csi-node-driver
35
35
OCI_CLI_VERSION ?= master
36
- KUBECTL_VERSION ?= v1 .11.0
36
+ KUBECTL_VERSION ?= 1 .11.0
37
37
38
38
GIT_COMMIT := $(shell GCOMMIT=`git rev-parse --short HEAD`; if [ -n "`git status . --porcelain`" ]; then echo "$$GCOMMIT-dirty"; else echo $$GCOMMIT; fi)
39
39
DOCKER_REPO_ROOT? =/go/src/github.com/oracle/oci-cloud-controller-manager
Original file line number Diff line number Diff line change 1
- FROM iad.ocir.io/odx-oke/oke/golang:1.12
1
+ FROM docker-remote.artifactory.oci.oraclecorp.com/oraclelinux:7-slim
2
2
3
- ARG OCI_CLI_VERSION
3
+ # install latest oci cli from yum repo
4
+ # ARG OCI_CLI_VERSION
4
5
ARG KUBECTL_VERSION
5
6
6
- RUN apt-get update && apt-get install -y python3 python3-venv python3-distutils openssl locales
7
- RUN locale-gen C.UTF-8
7
+ # enable devo repo for oci-cli installation. oci-cli installation will have python3 installed.
8
+ # reinstall glibc-common to populate /usr/share/i18n/charmap so lcoaledef can work
9
+ # TODO confirm whether python3-distutils is needed.
10
+ # TODO I don't think OCL_CLI_VERSION matters so python36-oci-cli should be sufficient.
11
+ RUN yum install -y oraclelinux-developer-release-el7 oracle-epel-release-el7 && \
12
+ yum install -y python36-oci-cli openssl go && \
13
+ yum reinstall -y glibc-common && \
14
+ yum clean all
15
+
16
+ # set locale
17
+ RUN localedef -i C -f UTF-8 C.UTF-8
18
+
8
19
ENV LC_ALL="C.UTF-8"
9
20
ENV LANG="C.UTF-8"
21
+
10
22
# Install test runner
11
23
RUN go get github.com/onsi/ginkgo/ginkgo
12
24
13
- # Install OCI cli
14
- RUN mkdir -p oci-cli-install && \
15
- curl -L "https://raw.githubusercontent.com/oracle/oci-cli/${OCI_CLI_VERSION}/scripts/install/install.sh" > oci-cli-install/install.sh && \
16
- chmod u+x ./oci-cli-install/install.sh && \
17
- ./oci-cli-install/install.sh --install-dir /usr/local/oci --accept-all-defaults && \
18
- ln -s /root/bin/oci /usr/local/bin/oci
19
-
20
25
# Install kubectl
21
- RUN curl -LO https://storage.googleapis. com/kubernetes-release/release/ ${KUBECTL_VERSION}/bin/linux/amd64 /kubectl && \
26
+ RUN curl -LO https://artifactory.oci.oraclecorp. com:443/build-service-test-generic-local/oci-cloud-controller-manager/kubectl/kubectl- ${KUBECTL_VERSION}/kubectl && \
22
27
chmod +x ./kubectl && \
23
28
mv ./kubectl /usr/local/bin/kubectl
24
29
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM iad.ocir.io /odx-oke/oke-public/oci-flexvolume-driver-test:64d8c1e
15
+ FROM odo-docker-signed-local.artifactory.oci.oraclecorp.com /odx-oke/oke-public/oci-flexvolume-driver-test:64d8c1e
16
16
COPY kubectl /usr/local/bin/kubectl
17
17
RUN chmod +x /usr/local/bin/kubectl
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM iad.ocir.io /odx-oke/oke-public/oci-volume-provisioner-test:0.6.0-6-g5345239
15
+ FROM odo-docker-signed-local.artifactory.oci.oraclecorp.com /odx-oke/oke-public/oci-volume-provisioner-test:0.6.0-6-g5345239
16
16
COPY kubectl /usr/local/bin/kubectl
17
17
RUN chmod +x /usr/local/bin/kubectl
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments