Skip to content

Commit b6f1de6

Browse files
authored
Merge pull request #76 from SentriusLLC/phrocker-patch-1
Update Dockerfile
2 parents b6c6efb + 8c63bdc commit b6f1de6

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

docker/keycloak/Dockerfile

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,6 @@ WORKDIR /opt/keycloak
2828

2929
# Copy certs if needed
3030

31-
COPY dev-certs/sentrius-ca.crt /tmp/sentrius-ca.crt
32-
33-
RUN if [ "$INCLUDE_DEV_CERTS" = "true" ] && [ -f /tmp/sentrius-ca.crt ]; then \
34-
echo "Importing dev CA cert..." && \
35-
keytool -import -noprompt -trustcacerts \
36-
-alias sentrius-local-ca \
37-
-file /tmp/sentrius-ca.crt \
38-
-keystore "$JAVA_HOME/lib/security/cacerts" \
39-
-storepass changeit ; \
40-
else \
41-
echo "Skipping cert import"; \
42-
fi
43-
4431
RUN /opt/keycloak/bin/kc.sh build
4532

4633
FROM quay.io/keycloak/keycloak:24.0.1
@@ -60,4 +47,4 @@ USER keycloak
6047

6148
RUN ls -l /opt/keycloak/data/import/sentrius-realm.json.template
6249

63-
ENTRYPOINT ["/opt/keycloak/bin/startup.sh"]
50+
ENTRYPOINT ["/opt/keycloak/bin/startup.sh"]

0 commit comments

Comments
 (0)