File tree Expand file tree Collapse file tree 6 files changed +1
-18
lines changed
Expand file tree Collapse file tree 6 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,11 @@ version="1.19.1"
1010registry=" container-registry.oracle.com/olcne"
1111git_commit=" $( git rev-parse --short HEAD) "
1212
13- repo_filename=" ol_artifacts.repo"
14- repo_file=" /etc/yum.repos.d/$repo_filename "
15- if [ -f " $repo_file " ]; then
16- cp " $repo_file " ./
17- echo ' priority=1' >> " $repo_filename "
18- echo ' enabled=1' >> " $repo_filename "
19- fi
20-
2113for component in acmesolver cainjector controller startupapicheck webhook; do
2214 name=" cert-manager-${component} "
2315 docker_tag=" ${registry} /${name} :${version} "
2416 " ${CONTAINER_CLI} " build --pull \
17+ -v /etc/yum.repos.d:/etc/yum.repos.d \
2518 --build-arg https_proxy=" ${https_proxy} " \
2619 --build-arg VERSION=" ${version} " \
2720 --build-arg GIT_COMMIT=" ${git_commit} " \
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ FROM container-registry.oracle.com/os/oraclelinux:9
33ARG VERSION
44ARG GIT_COMMIT
55
6- COPY *.repo /etc/yum.repos.d/
7-
86RUN dnf update -y && dnf install patch make git golang -y
97
108WORKDIR /cert-manager
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ FROM container-registry.oracle.com/os/oraclelinux:9
33ARG VERSION
44ARG GIT_COMMIT
55
6- COPY *.repo /etc/yum.repos.d/
7-
86RUN dnf update -y && dnf install make git golang -y
97
108WORKDIR /cert-manager
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ FROM container-registry.oracle.com/os/oraclelinux:9
33ARG VERSION
44ARG GIT_COMMIT
55
6- COPY *.repo /etc/yum.repos.d/
7-
86RUN dnf update -y && dnf install make git golang -y
97
108WORKDIR /cert-manager
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ FROM container-registry.oracle.com/os/oraclelinux:9
33ARG VERSION
44ARG GIT_COMMIT
55
6- COPY *.repo /etc/yum.repos.d/
7-
86RUN dnf update -y && dnf install make git golang -y
97
108WORKDIR /cert-manager
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ FROM container-registry.oracle.com/os/oraclelinux:9
33ARG VERSION
44ARG GIT_COMMIT
55
6- COPY *.repo /etc/yum.repos.d/
7-
86RUN dnf update -y && dnf install make git golang -y
97
108WORKDIR /cert-manager
You can’t perform that action at this time.
0 commit comments