UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
keycloak
keycloak
Commits
19d1310c
Verified
Commit
19d1310c
authored
Dec 18, 2019
by
Humberto Ojeda
Browse files
updated healthcheck to add retries and time periods; added yum disable ubi8 to install
parent
ec0a35f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
6.0.1/Dockerfile
6.0.1/Dockerfile
+6
-2
No files found.
6.0.1/Dockerfile
View file @
19d1310c
...
...
@@ -40,14 +40,18 @@ RUN useradd -M -s /usr/sbin/nologin --uid ${KEYCLOAK_USER_ID} --user-group ${KEY
chmod
-R
o-w /opt/jboss/keycloak
# Install dependencies
RUN
yum
install
-y
--disableplugin
=
subsciption-manager
--nogpgcheck
java-1.8.0-openjdk
&&
\
RUN
yum
install
-y
--disableplugin
=
subsciption-manager
\
--nogpgcheck
\
--disablerepo
=
unified_platform_ubi8_appstream
\
--disablerepo
=
unified_platform_ubi8_os
\
java-1.8.0-openjdk
&&
\
yum clean all
USER
${KEYCLOAK_USER_ID}
EXPOSE
8080
HEALTHCHECK
CMD curl http://localhost/auth || exit 1
HEALTHCHECK
--timeout=5m --start-period=2m --retries=3
CMD curl http://localhost/auth || exit 1
ENTRYPOINT
[ "/opt/jboss/tools/docker-entrypoint.sh" ]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment