mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-09 09:56:22 +00:00
59bd22567e
Updating keycloak container to be able to add SSL cert
19 lines
No EOL
579 B
Docker
19 lines
No EOL
579 B
Docker
FROM jboss/keycloak
|
|
|
|
USER root
|
|
|
|
# Install sudo and utils to configure jboss user
|
|
RUN microdnf update -y && \
|
|
microdnf install -y sudo shadow-utils passwd && \
|
|
microdnf clean all
|
|
|
|
# 'Fix' jboss user, add to sudoers
|
|
RUN usermod --password jboss jboss && \
|
|
usermod -aG wheel jboss && \
|
|
sed -i 's/# includedir/includedir/' /etc/sudoers && \
|
|
echo "jboss ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/jboss
|
|
|
|
ADD ./add-to-truststore.sh /opt/jboss/startup-scripts/add-to-truststore.sh
|
|
RUN chmod +x /opt/jboss/startup-scripts/add-to-truststore.sh
|
|
|
|
USER jboss |