Skip to content

Commit f5d41fb

Browse files
authored
Update comments and errors messages for: Replace centos:8 with almalinux:8 (#19159)
Signed-off-by: Simon Marty <martysi@amazon.com>
1 parent 2b9a968 commit f5d41fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

distribution/docker/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ project.ext {
133133

134134
void addCopyDockerContextTask(Architecture architecture, DockerBase base) {
135135
if (base != DockerBase.ALMALINUX) {
136-
throw new GradleException("The only allowed docker base image for builds is CENTOS")
136+
throw new GradleException("The only allowed docker base image for builds is ALMALINUX")
137137
}
138138

139139
tasks.register(taskName("copy", architecture, base, "DockerContext"), Sync) {
@@ -209,7 +209,7 @@ tasks.named("check").configure {
209209

210210
void addBuildDockerImage(Architecture architecture, DockerBase base) {
211211
if (base != DockerBase.ALMALINUX) {
212-
throw new GradleException("The only allowed docker base image for builds is CENTOS")
212+
throw new GradleException("The only allowed docker base image for builds is ALMALINUX")
213213
}
214214

215215
final TaskProvider<DockerBuildTask> buildDockerImageTask =
@@ -232,7 +232,7 @@ void addBuildDockerImage(Architecture architecture, DockerBase base) {
232232
}
233233

234234
for (final Architecture architecture : Architecture.values()) {
235-
// We only create Docker images for the distribution on CentOS.
235+
// We only create Docker images for the distribution on AlmaLinux.
236236
for (final DockerBase base : DockerBase.values()) {
237237
if (base == DockerBase.ALMALINUX) {
238238
addCopyDockerContextTask(architecture, base)

0 commit comments

Comments
 (0)