@@ -167,7 +167,7 @@ public void nonExistentDockerImage() throws Exception {
167167 public void fromDockerfile () throws Exception {
168168 DockerTestUtil .assumeDocker ();
169169
170- sampleRepo .write ("Dockerfile" , "FROM ubuntu:14.04 \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
170+ sampleRepo .write ("Dockerfile" , "FROM ubuntu:noble \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
171171 sampleRepo .git ("init" );
172172 sampleRepo .git ("add" , "Dockerfile" );
173173 sampleRepo .git ("commit" , "--message=Dockerfile" );
@@ -185,7 +185,7 @@ public void fromDockerfile() throws Exception {
185185 public void userHandbookDockerfile () throws Exception {
186186 DockerTestUtil .assumeDocker ();
187187
188- sampleRepo .write ("Dockerfile" , "FROM node:16 .13.1 -alpine\n RUN apk add -U subversion\n " );
188+ sampleRepo .write ("Dockerfile" , "FROM node:22 .13.0 -alpine\n RUN apk add -U subversion\n " );
189189 sampleRepo .git ("init" );
190190 sampleRepo .git ("add" , "Dockerfile" );
191191 sampleRepo .git ("commit" , "--message=Dockerfile" );
@@ -200,7 +200,7 @@ public void userHandbookDockerfile() throws Exception {
200200 public void additionalDockerBuildArgs () throws Exception {
201201 DockerTestUtil .assumeDocker ();
202202
203- sampleRepo .write ("Dockerfile" , "FROM ubuntu:14.04 \n \n ARG someArg=thisArgHere\n \n RUN echo \" hi there, $someArg\" > /hi-there\n \n " );
203+ sampleRepo .write ("Dockerfile" , "FROM ubuntu:noble \n \n ARG someArg=thisArgHere\n \n RUN echo \" hi there, $someArg\" > /hi-there\n \n " );
204204 sampleRepo .git ("init" );
205205 sampleRepo .git ("add" , "Dockerfile" );
206206 sampleRepo .git ("commit" , "--message=Dockerfile" );
@@ -219,7 +219,7 @@ public void additionalDockerBuildArgs() throws Exception {
219219 public void additionalDockerBuildArgsImageHash () throws Exception {
220220 DockerTestUtil .assumeDocker ();
221221
222- sampleRepo .write ("Dockerfile" , "FROM ubuntu:14.04 \n \n ARG someArg=thisArgHere\n \n RUN echo \" hi there, $someArg\" > /hi-there\n \n " );
222+ sampleRepo .write ("Dockerfile" , "FROM ubuntu:noble \n \n ARG someArg=thisArgHere\n \n RUN echo \" hi there, $someArg\" > /hi-there\n \n " );
223223 sampleRepo .git ("init" );
224224 sampleRepo .git ("add" , "Dockerfile" );
225225 sampleRepo .git ("commit" , "--message=Dockerfile" );
@@ -230,11 +230,11 @@ public void additionalDockerBuildArgsImageHash() throws Exception {
230230 .withProjectName ("parallelImageHashTest" )
231231 .logContains ("[Pipeline] { (foo)" ,
232232 "-v /tmp:/tmp" ,
233- "docker build -t 8343c0815beb7a50c3676f09d7175d903a57f11b --build-arg someArg=thisOtherArg" ,
233+ "docker build -t 02a5b681aa9d457d1a8ebf2d61f4af0061dad300 --build-arg someArg=thisOtherArg" ,
234234 "The answer is 42" ,
235235 "hi there, thisOtherArg" ,
236236 "[Pipeline] { (bar)" ,
237- "docker build -t 4f8d74de557925eb9aacdfdf671b5e9de11b6086 --build-arg someArg=thisDifferentArg" ,
237+ "docker build -t 36193f504228c0f319bb867146b391dd8e04aec6 --build-arg someArg=thisDifferentArg" ,
238238 "The answer is 43" ,
239239 "hi there, thisDifferentArg" )
240240 .logNotContains ("hi there, thisArgHere" )
@@ -246,7 +246,7 @@ public void additionalDockerBuildArgsImageHash() throws Exception {
246246 public void fromDockerfileInOtherDir () throws Exception {
247247 DockerTestUtil .assumeDocker ();
248248
249- sampleRepo .write ("subdir/Dockerfile" , "FROM ubuntu:14.04 \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
249+ sampleRepo .write ("subdir/Dockerfile" , "FROM ubuntu:noble \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
250250 sampleRepo .git ("init" );
251251 sampleRepo .git ("add" , "subdir/Dockerfile" );
252252 sampleRepo .git ("commit" , "--message=Dockerfile" );
@@ -264,7 +264,7 @@ public void fromDockerfileInOtherDir() throws Exception {
264264 public void dirSepInDockerfileName () throws Exception {
265265 DockerTestUtil .assumeDocker ();
266266
267- sampleRepo .write ("subdir/Dockerfile" , "FROM ubuntu:14.04 \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
267+ sampleRepo .write ("subdir/Dockerfile" , "FROM ubuntu:noble \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
268268 sampleRepo .git ("init" );
269269 sampleRepo .git ("add" , "subdir/Dockerfile" );
270270 sampleRepo .git ("commit" , "--message=Dockerfile" );
@@ -281,7 +281,7 @@ public void dirSepInDockerfileName() throws Exception {
281281 public void fromDockerfileNoArgs () throws Exception {
282282 DockerTestUtil .assumeDocker ();
283283
284- sampleRepo .write ("Dockerfile" , "FROM ubuntu:14.04 \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
284+ sampleRepo .write ("Dockerfile" , "FROM ubuntu:noble \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
285285 sampleRepo .git ("init" );
286286 sampleRepo .git ("add" , "Dockerfile" );
287287 sampleRepo .git ("commit" , "--message=Dockerfile" );
@@ -296,7 +296,7 @@ public void fromDockerfileNoArgs() throws Exception {
296296 @ Test
297297 public void fromAlternateDockerfile () throws Exception {
298298 DockerTestUtil .assumeDocker ();
299- sampleRepo .write ("Dockerfile.alternate" , "FROM ubuntu:14.04 \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
299+ sampleRepo .write ("Dockerfile.alternate" , "FROM ubuntu:noble \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
300300 sampleRepo .git ("init" );
301301 sampleRepo .git ("add" , "Dockerfile.alternate" );
302302 sampleRepo .git ("commit" , "--message=Dockerfile" );
@@ -326,7 +326,7 @@ public void agentDockerGlobalThenLabel() throws Exception {
326326 public void dockerPullLocalImage () throws Exception {
327327 DockerTestUtil .assumeDocker ();
328328
329- sampleRepo .write ("Dockerfile" , "FROM ubuntu:14.04 \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
329+ sampleRepo .write ("Dockerfile" , "FROM ubuntu:noble \n \n RUN echo 'HI THERE' > /hi-there\n \n " );
330330 sampleRepo .git ("init" );
331331 sampleRepo .git ("add" , "Dockerfile" );
332332 sampleRepo .git ("commit" , "--message=Dockerfile" );
0 commit comments