fix: disable netty native transport for redis clients

This commit is contained in:
lingniu
2026-07-01 17:43:29 +08:00
parent 96b8474182
commit 6e24bf615d
3 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ ARG APP_VERSION
ENV APP_NAME=${APP_NAME}
ENV APP_VERSION=${APP_VERSION}
ENV JAVA_OPTS="--sun-misc-unsafe-memory-access=allow"
ENV JAVA_OPTS="--sun-misc-unsafe-memory-access=allow -Dio.netty.transport.noNative=true"
RUN apt-get update \
&& apt-get install -y --no-install-recommends curl \