-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Description
Docker image based on CentOS Stream 10 (Coughlan)
Error: template: centos.Dockerfile:5:15: executing "centos.Dockerfile" at <atoi .Release.Version>: error calling atoi: strconv.Atoi: parsing "10 (Coughlan)": invalid syntax
Template: centos.Dockerfile:5:15: executing "centos.Dockerfile" at <atoi .Release.Version>: error calling atoi: strconv.Atoi: parsing "10 (Coughlan)": invalid syntax
We should use VERSION_ID instead of VERSION, see PR #66
$ docker run -ti quay.io/centos/centos:stream10-minimal
bash-5.2# cat /etc/os-release
NAME="CentOS Stream"
VERSION="10 (Coughlan)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="10"
PLATFORM_ID="platform:el10"
PRETTY_NAME="CentOS Stream 10 (Coughlan)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:centos:centos:10"
HOME_URL="https://centos.org/"
VENDOR_NAME="CentOS"
VENDOR_URL="https://centos.org/"
BUG_REPORT_URL="https://issues.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 10"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
bash-5.2#
Metadata
Metadata
Assignees
Labels
No labels