Skip to content

Commit

Permalink
Merge pull request #273 from porschesstein/features/bump-to-ubi-8.10
Browse files Browse the repository at this point in the history
Bump ubi-micro and ubi-minimal to 8.10
  • Loading branch information
Karm authored Jun 6, 2024
2 parents 2037038 + 9d75a81 commit 2479f0d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ To update them, edit the `pom.xml` file:

```xml
<!-- See https://catalog.redhat.com/software/containers/ubi8/ubi-minimal/5c359a62bed8bd75a2c3fba8 -->
<ubi-min.base>registry.access.redhat.com/ubi8/ubi-minimal:8.9</ubi-min.base>
<!-- See https://catalog.redhat.com/software/containers/ubi8/ubi-micro/5ff3f50a831939b08d1b832a -->
<ubi-micro.base>registry.access.redhat.com/ubi8-micro:8.9</ubi-micro.base>
<ubi-min.base>registry.access.redhat.com/ubi8/ubi-minimal:8.10</ubi-min.base>
<!-- See https://catalog.redhat.com/software/containers/ubi8-micro/601a84aadd19c7786c47c8ea -->
<ubi-micro.base>registry.access.redhat.com/ubi8-micro:8.10</ubi-micro.base>
```

### Pushing the image to quay
Expand Down
4 changes: 2 additions & 2 deletions jdock/src/test/java/io/quarkus/images/Builders.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public class Builders {

public static Dockerfile getMandrelDockerFile(String version, String javaVersion, String arch, String sha) {
Dockerfile df = Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.9");
Dockerfile df = Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.10");
df
.installer("microdnf")
.user("root")
Expand All @@ -29,7 +29,7 @@ public static Dockerfile getMandrelDockerFile(String version, String javaVersion
}

public static Dockerfile getGraalVmDockerFile(String version, String javaVersion, String arch, String sha) {
Dockerfile df = Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.9");
Dockerfile df = Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.10");
df
.installer("microdnf")
.user("root")
Expand Down
2 changes: 1 addition & 1 deletion jdock/src/test/java/io/quarkus/images/DistrolessTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void testBuildingDistrolessImage() {
void testBuildingMicroImage() {
System.out.println(Dockerfile
.multistages()
.stage("ubi", Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.9"))
.stage("ubi", Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.10"))
.stage("scratch", Dockerfile.from("registry.access.redhat.com/ubi8/ubi-micro"))
.stage(Dockerfile.from("scratch")
.copyFromStage("ubi", "/usr/lib64/libgcc_s.so.1")
Expand Down
2 changes: 1 addition & 1 deletion jdock/src/test/java/io/quarkus/images/MultiMicroTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static void init() {
@Test
void test() {
MultiStageDockerFile micro = Dockerfile.multistages()
.stage("ubi", Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.9"))
.stage("ubi", Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.10"))
.stage("scratch", Dockerfile.from("registry.access.redhat.com/ubi8/ubi-micro"))
.stage(Dockerfile.from("scratch")
.copyFromStage("ubi", "/usr/lib64/libgcc_s.so.1")
Expand Down
4 changes: 2 additions & 2 deletions jdock/src/test/java/io/quarkus/images/SimpleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ public void testGraalvmAmd64() {

@Test
public void testRunWithExecForm() {
Dockerfile df = Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.9");
Dockerfile df = Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.10");
df.exec("/bin/bash", "-c", "echo hello");
assertThat(df.build()).contains("RUN [ \"/bin/bash\", \"-c\", \"echo hello\" ]\n");
}

@Test
public void testRunWithShellForm() {
Dockerfile df = Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.9");
Dockerfile df = Dockerfile.from("registry.access.redhat.com/ubi8/ubi-minimal:8.10");
df.run("source $HOME/.bashrc", "echo $HOME");
assertThat(df.build()).contains("RUN source $HOME/.bashrc \\\n && echo $HOME\n");
}
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
<maven.compiler.target>17</maven.compiler.target>

<!-- See https://catalog.redhat.com/software/containers/ubi8/ubi-minimal/5c359a62bed8bd75a2c3fba8 -->
<ubi-min.base>registry.access.redhat.com/ubi8/ubi-minimal:8.9</ubi-min.base>
<!-- See https://catalog.redhat.com/software/containers/ubi8/ubi-micro/5ff3f50a831939b08d1b832a -->
<ubi-micro.base>registry.access.redhat.com/ubi8-micro:8.9</ubi-micro.base>
<ubi-min.base>registry.access.redhat.com/ubi8/ubi-minimal:8.10</ubi-min.base>
<!-- See https://catalog.redhat.com/software/containers/ubi8-micro/601a84aadd19c7786c47c8ea -->
<ubi-micro.base>registry.access.redhat.com/ubi8-micro:8.10</ubi-micro.base>

<jdock.dry-run>false</jdock.dry-run>
</properties>
Expand Down

0 comments on commit 2479f0d

Please sign in to comment.