Skip to content

Instantly share code, notes, and snippets.

@MenukaIshan
Created April 13, 2022 14:57
Show Gist options
  • Save MenukaIshan/ad6032f6a7bd83102154740c9fbe3544 to your computer and use it in GitHub Desktop.
Save MenukaIshan/ad6032f6a7bd83102154740c9fbe3544 to your computer and use it in GitHub Desktop.
This gist shows how to install application is a Redhat ubi8-minimal based container
FROM jboss/keycloak:12.0.3
# Switch to root, in order to install application
USER root
# Install the dev environments you need
RUN microdnf install yum
#Switch back to jboss user to run like previously intended
USER jboss
# Beyond this line should run your code as previously configured
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment