Add legacy/Dockerfile

This commit is contained in:
2025-04-05 14:59:40 +03:00
commit c7114149e7

12
legacy/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM quay.io/keycloak/keycloak:legacy
USER root
# Copy the CA certificate into the container
COPY Ruff-CA.crt /tmp/Ruff-CA.crt
# Import into the correct truststore
RUN keytool -import -trustcacerts -alias Ruff-CA \
-file /tmp/Ruff-CA.crt \
-keystore /usr/lib/jvm/java-11-openjdk-11.0.16.1.1-1.el8_6.x86_64/lib/security/cacerts \
-storepass changeit -noprompt && \
rm /tmp/Ruff-CA.crt