Skip to content

Commit

Permalink
bugfix: Build keycloak image
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Oct 24, 2024
1 parent bef7218 commit bf2d387
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deploy/lib/KeycloakService.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as cdk from "aws-cdk-lib";
import * as ecs from "aws-cdk-lib/aws-ecs";
import * as ecsPatterns from "aws-cdk-lib/aws-ecs-patterns";
import * as ecrAssets from "aws-cdk-lib/aws-ecr-assets";
import * as secretsManager from "aws-cdk-lib/aws-secretsmanager";
import * as certificateManager from "aws-cdk-lib/aws-certificatemanager";
import * as ec2 from "aws-cdk-lib/aws-ec2";
Expand Down Expand Up @@ -70,9 +71,9 @@ export class KeycloakService extends Construct {
taskImageOptions: {
containerName: "keycloak",
containerPort: appPort,
image: ecs.ContainerImage.fromRegistry(
"quay.io/keycloak/keycloak:26.0.0"
),
image: ecs.ContainerImage.fromAsset("./keycloak", {
platform: ecrAssets.Platform.LINUX_AMD64,
}),
entryPoint: ["/opt/keycloak/bin/kc.sh"],
command: ["start"],
environment: {
Expand Down

0 comments on commit bf2d387

Please sign in to comment.