Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cp: cannot stat '/opt/bitnami/keycloak/lib/quarkus/*': No such file or directory #26520

Closed
rajshivaram opened this issue May 28, 2024 · 3 comments
Assignees
Labels
keycloak solved tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@rajshivaram
Copy link

rajshivaram commented May 28, 2024

Name and Version

bitnami/keycloak

What architecture are you using?

arm64

What steps will reproduce the bug?

FROM quay.io/keycloak/keycloak:latest as builder

# Enable health and metrics support
ENV KC_HEALTH_ENABLED=true
ENV KC_METRICS_ENABLED=true

# Configure a database vendor
ENV KC_DB=postgres

WORKDIR /opt/keycloak
# for demonstration purposes only, please make sure to use proper certificates in production instead
RUN keytool -genkeypair -storepass password -storetype PKCS12 -keyalg RSA -keysize 2048 -dname "CN=server" -alias server -ext "SAN:c=DNS:localhost,IP:127.0.0.1" -keystore conf/server.keystore
RUN /opt/keycloak/bin/kc.sh build

FROM quay.io/keycloak/keycloak:latest
COPY --from=builder /opt/keycloak/ /opt/keycloak/

What do you see instead?

Getting the following error while deploying custom image

cp: cannot stat '/opt/bitnami/keycloak/lib/quarkus/*': No such file or directory

Additional information

Please help fix this, as I am unable to find any solution for this on the internet as well

@rajshivaram rajshivaram added the tech-issues The user has a technical issue about an application label May 28, 2024
@github-actions github-actions bot added the triage Triage is needed label May 28, 2024
@carrodher
Copy link
Member

It seems you're not using the Bitnami Keycloak container image

@rajshivaram
Copy link
Author

rajshivaram commented May 29, 2024

As per the documentation i am using the below container image

FROM quay.io/keycloak/keycloak:latest as builder

https://www.keycloak.org/server/containers

@carrodher
Copy link
Member

That image is not from Bitnami, please post the question in the Keycloak forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keycloak solved tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

2 participants