File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11###################################### Image ######################################
2- ARG CENTOS_VERSION =8
2+ ARG ROCKYLINUX_VERSION =8
33
44## build Image
5- FROM centos :${CENTOS_VERSION }
5+ FROM rockylinux/rockylinux :${ROCKYLINUX_VERSION }
66
77# packages to install
88RUN yum update -y && \
@@ -14,7 +14,8 @@ RUN yum update -y && \
1414 vim \
1515 git \
1616 bash-completion \
17- glibc && \
17+ glibc \
18+ findutils && \
1819 yum clean all
1920
2021################################## Image Config ###################################
@@ -106,7 +107,7 @@ RUN if [ -n "${HELM_VERSION}" ] && [ "${HELM_VERSION}" != "latest" ]; then HELM=
106107 cp helm/linux-amd64/helm /usr/local/bin/helm && chmod -R +x /usr/local/bin/helm && \
107108 helm repo add stable https://charts.helm.sh/stable && helm repo update && \
108109 helm completion bash > /etc/bash_completion.d/helm || :
109-
110+
110111## terraform
111112RUN if [ -n "${TERRAFORM_VERSION}" ] && [ "${TERRAFORM_VERSION}" != "latest" ]; then TERRAFORM="terraform-${TERRAFORM_VERSION}";fi && \
112113 if [ "${TERRAFORM_VERSION}" == "latest" ]; then TERRAFORM="terraform";fi && \
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ vi .docker_build
1414
1515### Image
1616
17- | ARG | Required | Default |
18- | ---------------- | -------- | ------- |
19- | CENTOS_VERSION | no | 8 |
17+ | ARG | Required | Default |
18+ | ------------------ | -------- | ------- |
19+ | ROCKYLINUX_VERSION | no | 8 |
2020
2121### Image Config
2222
You can’t perform that action at this time.
0 commit comments