File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
dev-support/ranger-docker Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ ARG TARGETARCH
23
23
ARG RANGER_ADMIN_JAVA_VERSION
24
24
25
25
ENV JAVA_HOME=/usr/lib/jvm/java-1.${RANGER_ADMIN_JAVA_VERSION}.0-openjdk-${TARGETARCH}
26
+ # ENV RANGER_ADMIN_CONF=/opt/ranger/admin/conf
26
27
27
28
RUN if [ "${OS_NAME}" = "UBUNTU" ]; then\
28
29
update-java-alternatives --set "$JAVA_HOME";\
Original file line number Diff line number Diff line change @@ -746,7 +746,7 @@ update_properties() {
746
746
if [ " ${DB_FLAVOR} " == " MSSQL" ]
747
747
then
748
748
propertyName=ranger.jpa.jdbc.url
749
- newPropertyValue=" jdbc:sqlserver://${DB_HOST} ;databaseName=${db_name} "
749
+ newPropertyValue=" jdbc:sqlserver://${DB_HOST} ;databaseName=${db_name} ;trustServerCertificate=true; "
750
750
updatePropertyToFilePy $propertyName $newPropertyValue $to_file_ranger
751
751
752
752
propertyName=ranger.jpa.jdbc.dialect
You can’t perform that action at this time.
0 commit comments