diff --git a/Dockerfile.template b/Dockerfile.template index 70d1f01..7c11e65 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -1,8 +1,8 @@ ###################################### Image ###################################### -ARG CENTOS_VERSION=8 +ARG ROCKYLINUX_VERSION=8 ## build Image -FROM centos:${CENTOS_VERSION} +FROM rockylinux/rockylinux:${ROCKYLINUX_VERSION} # packages to install RUN yum update -y && \ @@ -14,7 +14,8 @@ RUN yum update -y && \ vim \ git \ bash-completion \ - glibc && \ + glibc \ + findutils && \ yum clean all ################################## Image Config ################################### @@ -106,7 +107,7 @@ RUN if [ -n "${HELM_VERSION}" ] && [ "${HELM_VERSION}" != "latest" ]; then HELM= cp helm/linux-amd64/helm /usr/local/bin/helm && chmod -R +x /usr/local/bin/helm && \ helm repo add stable https://charts.helm.sh/stable && helm repo update && \ helm completion bash > /etc/bash_completion.d/helm || : - + ## terraform RUN if [ -n "${TERRAFORM_VERSION}" ] && [ "${TERRAFORM_VERSION}" != "latest" ]; then TERRAFORM="terraform-${TERRAFORM_VERSION}";fi && \ if [ "${TERRAFORM_VERSION}" == "latest" ]; then TERRAFORM="terraform";fi && \ diff --git a/README.MD b/README.MD index 9d7933e..92f57b2 100644 --- a/README.MD +++ b/README.MD @@ -14,9 +14,9 @@ vi .docker_build ### Image -| ARG | Required | Default | -| ---------------- | -------- | ------- | -| CENTOS_VERSION | no | 8 | +| ARG | Required | Default | +| ------------------ | -------- | ------- | +| ROCKYLINUX_VERSION | no | 8 | ### Image Config