Skip to content

Commit

Permalink
[KEYCLOAK-11636] Switched to ubi8 image that doesn't require a redhat…
Browse files Browse the repository at this point in the history
… account and added the jboss user.

  - Update release version
  • Loading branch information
douglaspalmer authored and stianst committed Oct 14, 2019
1 parent 58b31e9 commit 36fa3e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM registry.redhat.io/ubi8-minimal
FROM registry.access.redhat.com/ubi8-minimal

ENV KEYCLOAK_VERSION 6.0.1
ENV KEYCLOAK_VERSION 7.0.0
ENV JDBC_POSTGRES_VERSION 42.2.5
ENV JDBC_MYSQL_VERSION 5.1.46
ENV JDBC_MARIADB_VERSION 2.2.3
Expand Down
5 changes: 3 additions & 2 deletions server/tools/build-keycloak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,6 @@ rm -rf /opt/jboss/keycloak/standalone/configuration/standalone_xml_history
# Set permissions #
###################

chgrp -R 0 /opt/jboss/keycloak
chmod -R g=u /opt/jboss/keycloak
echo "jboss:x:1000:1000:JBoss user:/opt/jboss:/sbin/nologin" >> /etc/passwd
chown -R jboss:0 /opt/jboss
chmod -R g+rw /opt/jboss

0 comments on commit 36fa3e5

Please sign in to comment.