Skip to content

Commit 636f997

Browse files
authored
Merge pull request #15 from T-Systems-MMS/centos8_eol
feat: change to rockylinux as default image
2 parents ada381c + 1ab6f79 commit 636f997

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Dockerfile.template

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
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
88
RUN 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
111112
RUN if [ -n "${TERRAFORM_VERSION}" ] && [ "${TERRAFORM_VERSION}" != "latest" ]; then TERRAFORM="terraform-${TERRAFORM_VERSION}";fi && \
112113
if [ "${TERRAFORM_VERSION}" == "latest" ]; then TERRAFORM="terraform";fi && \

README.MD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)