Skip to content

Commit 19bdf56

Browse files
committed
Merge pull request oracle#165 in OKE/oci-cloud-controller-manager from dockersca to internal
* commit '55f2bb00f937ca811bf654dd64e0b3ebb1330608': dockersca remove dockerfile from vendor folder
2 parents 7b16b98 + 55f2bb0 commit 19bdf56

File tree

8 files changed

+23
-96
lines changed

8 files changed

+23
-96
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ config.yaml
5656
input_ocibuild/
5757
output_ocibuild_dockerize_ccm/
5858
output_ocibuild_dockerize_ccm_arm/
59+
60+
# ignore Dockerfile under vendor
61+
vendor/**/Dockerfile

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ REGISTRY ?= odo-docker-signed-local.artifactory.oci.oraclecorp.com
3333
IMAGE ?= $(REGISTRY)/oke-public-cloud-provider-oci
3434
COMPONENT ?= oci-cloud-controller-manager oci-volume-provisioner oci-flexvolume-driver cloud-provider-oci oci-csi-controller-driver oci-csi-node-driver
3535
OCI_CLI_VERSION ?= master
36-
KUBECTL_VERSION ?= v1.11.0
36+
KUBECTL_VERSION ?= 1.11.0
3737

3838
GIT_COMMIT := $(shell GCOMMIT=`git rev-parse --short HEAD`; if [ -n "`git status . --porcelain`" ]; then echo "$$GCOMMIT-dirty"; else echo $$GCOMMIT; fi)
3939
DOCKER_REPO_ROOT?=/go/src/github.com/oracle/oci-cloud-controller-manager

images/e2e-tests/Dockerfile

+17-12
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
1-
FROM iad.ocir.io/odx-oke/oke/golang:1.12
1+
FROM docker-remote.artifactory.oci.oraclecorp.com/oraclelinux:7-slim
22

3-
ARG OCI_CLI_VERSION
3+
#install latest oci cli from yum repo
4+
#ARG OCI_CLI_VERSION
45
ARG KUBECTL_VERSION
56

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+
819
ENV LC_ALL="C.UTF-8"
920
ENV LANG="C.UTF-8"
21+
1022
# Install test runner
1123
RUN go get github.com/onsi/ginkgo/ginkgo
1224

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-
2025
# 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 && \
2227
chmod +x ./kubectl && \
2328
mv ./kubectl /usr/local/bin/kubectl
2429

test/e2e/e2e-test-image-build/flex/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

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
1616
COPY kubectl /usr/local/bin/kubectl
1717
RUN chmod +x /usr/local/bin/kubectl

test/e2e/e2e-test-image-build/volume/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

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
1616
COPY kubectl /usr/local/bin/kubectl
1717
RUN chmod +x /usr/local/bin/kubectl

vendor/github.com/nxadm/tail/Dockerfile

-19
This file was deleted.

vendor/github.com/pelletier/go-toml/Dockerfile

-11
This file was deleted.

vendor/golang.org/x/net/http2/Dockerfile

-51
This file was deleted.

0 commit comments

Comments
 (0)