Skip to content

Commit 85b144f

Browse files
ssst0n3Adphi
authored andcommitted
replace .Release.Version with .Release.VersionID to fix #65
Signed-off-by: Lei Wang <[email protected]>
1 parent a0039db commit 85b144f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/centos.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM {{ .Image }}
22

33
USER root
44

5-
{{ $version := atoi .Release.Version }}
5+
{{ $version := atoi .Release.VersionID }}
66

77
{{ if le $version 8 }}
88
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \

0 commit comments

Comments
 (0)