Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #155 from hkeeler/update-java
Browse files Browse the repository at this point in the history
Get latest openjdk on Keycloak Docker image
  • Loading branch information
wpears authored Aug 25, 2017
2 parents c1143a8 + 5cc7f04 commit 0feb56d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion keycloak/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,16 @@ COPY themes/hmda /opt/jboss/keycloak/themes/hmda
# Copy custom authenticator provider source code
COPY ${KC_SPI_SRC} ${KC_SPI_DEST}/${KC_SPI_SRC}

# Perform root user actions
USER root

# FIXME: Replace this with new COPY/ADD owner options when that feature become available
# SEE: https://github.com/docker/docker/pull/27303
USER root
RUN chmod -R a+w ${KC_SPI_DEST} && chown -R jboss:jboss /opt/jboss

# Get the latest yum packages, and cleanup packages from parent images
RUN yum -y update && yum -y clean all

USER jboss

# Build the Keycloak authenticator SPI
Expand Down

0 comments on commit 0feb56d

Please sign in to comment.