Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
leiicamundi committed Mar 22, 2024
1 parent 4bcb764 commit ee7f6d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/build-check/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
config = os.environ.get('CONFIG')
print("Checking plugin included: aws-wrapper")
assert 'aws-advanced-jdbc-wrapper' in config
print("Checking plugin included: sts")
assert 'sts' in config
print("Checking plugin included: apache-client")
assert 'apache-client' in config
9 changes: 3 additions & 6 deletions keycloak-23/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ ARG BASE_IMAGE_DIGEST
# use the .github/scripts/utils/get_aws_wrapper_version.sh keycloak-version script to get the value and pass it at build time
ARG AWS_JDBC_WRAPPER_VERSION

# Copy the previously built aws jdbc drivers
COPY --from=builder /opt/bitnami/keycloak/ /opt/bitnami/keycloak/

# common, k8s, openshift and OCI labels:
# OCI: https://github.com/opencontainers/image-spec/blob/main/annotations.md
# OCP: https://docs.openshift.com/container-platform/4.10/openshift_images/create-images.html#defining-image-metadata
Expand Down Expand Up @@ -69,9 +72,3 @@ LABEL maintainer="Camunda" \
# org.opencontainers.image.revision
# org.opencontainers.image.source
# org.opencontainers.image.version

# Copy the previously built aws jdbc drivers
COPY --from=builder /opt/bitnami/keycloak/ /opt/bitnami/keycloak/

# Rebuild as we added a provided
RUN /opt/bitnami/keycloak/bin/kc.sh build

0 comments on commit ee7f6d3

Please sign in to comment.