Skip to content

Commit

Permalink
try to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bguerin committed Jul 12, 2022
1 parent f39e978 commit ac046a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class JavaGitContainerTest {

@Test
public void smokes() throws Exception {
assertThat(rule.get().popen(new CommandBuilder("java", "-version")).verifyOrDieWith("could not launch Java"), containsString("openjdk version \"1.8.0_"));
assertThat(rule.get().popen(new CommandBuilder("java", "-version")).verifyOrDieWith("could not launch Java"), containsString("openjdk version \"11"));
assertThat(rule.get().popen(new CommandBuilder("git", "version")).verifyOrDieWith("could not launch git"), containsString("git version 2."));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

# cf. JavaContainer/Dockerfile
FROM jenkins/java:d93654cc6239
FROM jenkins/java:387404da3ce7

RUN apt-get update
RUN apt-get install --no-install-recommends -y git
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/java:d93654cc6239
FROM jenkins/java:387404da3ce7

ENV MAVEN_HOME="/usr/share/maven"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM jenkins/java:d93654cc6239
FROM jenkins/java:387404da3ce7

RUN apt-get remove maven -y

0 comments on commit ac046a5

Please sign in to comment.