@@ -133,7 +133,7 @@ project.ext {
133133
134134void 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
210210void 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
234234for (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