Skip to content

Commit

Permalink
Upgrade to Keycloak 25 (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
dasniko committed Jun 10, 2024
1 parent 0d020e6 commit 12f9df6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A [Testcontainers](https://www.testcontainers.org/) implementation for [Keycloak
![](https://img.shields.io/github/v/release/dasniko/testcontainers-keycloak?label=Release)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.dasniko/testcontainers-keycloak.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.dasniko%22%20AND%20a:%22testcontainers-keycloak%22)
![](https://img.shields.io/github/license/dasniko/testcontainers-keycloak?label=License)
![](https://img.shields.io/badge/Keycloak-24.0-blue)
![](https://img.shields.io/badge/Keycloak-25.0-blue)

## IMPORTANT!!!

Expand Down Expand Up @@ -34,7 +34,7 @@ Use another Keycloak Docker image/version than used in this Testcontainer:

```java
@Container
KeycloakContainer keycloak = new KeycloakContainer("quay.io/keycloak/keycloak:24.0");
KeycloakContainer keycloak = new KeycloakContainer("quay.io/keycloak/keycloak:25.0");
```

### Realm Import
Expand Down Expand Up @@ -346,6 +346,7 @@ For Keycloak versions until 21.x, see [version 2.x branch](https://github.com/da
| 3.2.0 | 1.19.3 | 23.0 |
| 3.3.0 | 1.19.6 | 24.0 |
| 3.3.1 | 1.19.6 | 24.0 |
| 3.4.0 | 1.19.8 | 25.0 |

_There might also be other possible version configurations which will work._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public abstract class ExtendableKeycloakContainer<SELF extends ExtendableKeycloa
public static final WaitStrategy LOG_WAIT_STRATEGY = Wait.forLogMessage(".*Running the server in development mode\\. DO NOT use this configuration in production.*\\n", 1);

private static final String KEYCLOAK_IMAGE = "quay.io/keycloak/keycloak";
private static final String KEYCLOAK_VERSION = "nightly";
private static final String KEYCLOAK_VERSION = "25.0";

private static final int KEYCLOAK_PORT_HTTP = 8080;
private static final int KEYCLOAK_PORT_HTTPS = 8443;
Expand Down Expand Up @@ -129,7 +129,7 @@ public ExtendableKeycloakContainer() {
/**
* Create a KeycloakContainer by passing the full docker image name
*
* @param dockerImageName Full docker image name, e.g. quay.io/keycloak/keycloak:24.0
* @param dockerImageName Full docker image name, e.g. quay.io/keycloak/keycloak:25.0
*/
public ExtendableKeycloakContainer(String dockerImageName) {
super(dockerImageName);
Expand Down

0 comments on commit 12f9df6

Please sign in to comment.