Add chmod to ADD examples in docs (#29626)
Closes #29625 Signed-off-by: Alex Szczuczko <aszczucz@redhat.com>
This commit is contained in:
parent
bfa4660ecd
commit
34a61d72e5
2 changed files with 4 additions and 4 deletions
|
@ -72,7 +72,7 @@ FROM quay.io/keycloak/keycloak:{containerlabel} as builder
|
|||
...
|
||||
|
||||
# Add the provider JAR file to the providers directory
|
||||
ADD --chown=keycloak:keycloak <MY_PROVIDER_JAR_URL> /opt/keycloak/providers/myprovider.jar
|
||||
ADD --chown=keycloak:keycloak --chmod=644 <MY_PROVIDER_JAR_URL> /opt/keycloak/providers/myprovider.jar
|
||||
|
||||
...
|
||||
|
||||
|
|
|
@ -59,8 +59,8 @@ A minimal Dockerfile to build an image which can be used with the {project_name}
|
|||
[source,dockerfile,subs="attributes+"]
|
||||
----
|
||||
FROM quay.io/keycloak/keycloak:{containerlabel}
|
||||
ADD --chown=keycloak:keycloak https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc11/${properties["oracle-jdbc.version"]}/ojdbc11-${properties["oracle-jdbc.version"]}.jar /opt/keycloak/providers/ojdbc11.jar
|
||||
ADD --chown=keycloak:keycloak https://repo1.maven.org/maven2/com/oracle/database/nls/orai18n/${properties["oracle-jdbc.version"]}/orai18n-${properties["oracle-jdbc.version"]}.jar /opt/keycloak/providers/orai18n.jar
|
||||
ADD --chown=keycloak:keycloak --chmod=644 https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc11/${properties["oracle-jdbc.version"]}/ojdbc11-${properties["oracle-jdbc.version"]}.jar /opt/keycloak/providers/ojdbc11.jar
|
||||
ADD --chown=keycloak:keycloak --chmod=644 https://repo1.maven.org/maven2/com/oracle/database/nls/orai18n/${properties["oracle-jdbc.version"]}/orai18n-${properties["oracle-jdbc.version"]}.jar /opt/keycloak/providers/orai18n.jar
|
||||
# Setting the build parameter for the database:
|
||||
ENV KC_DB=oracle
|
||||
# Add all other build parameters needed, for example enable health and metrics:
|
||||
|
@ -95,7 +95,7 @@ A minimal Dockerfile to build an image which can be used with the {project_name}
|
|||
[source,dockerfile,subs="attributes+"]
|
||||
----
|
||||
FROM quay.io/keycloak/keycloak:{containerlabel}
|
||||
ADD --chown=keycloak:keycloak https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/${properties["mssql-jdbc.version"]}/mssql-jdbc-${properties["mssql-jdbc.version"]}.jar /opt/keycloak/providers/mssql-jdbc.jar
|
||||
ADD --chown=keycloak:keycloak --chmod=644 https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/${properties["mssql-jdbc.version"]}/mssql-jdbc-${properties["mssql-jdbc.version"]}.jar /opt/keycloak/providers/mssql-jdbc.jar
|
||||
# Setting the build parameter for the database:
|
||||
ENV KC_DB=mssql
|
||||
# Add all other build parameters needed, for example enable health and metrics:
|
||||
|
|
Loading…
Reference in a new issue