diff --git a/Dockerfile b/Dockerfile index 33b3615..b203476 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,8 @@ ENV PATH="/root/.cargo/bin:${PATH}" ENV JAVA_OPTS="-Djdk.lang.Process.launchMechanism=vfork" +RUN bash -c '([[ ! -d $JAVA_SECURITY_DIR ]] && ln -s $JAVA_HOME/lib $JAVA_HOME/conf) || (echo "Found java conf dir, package has been fixed, remove this hack"; exit -1)' + ENV LANG en_US.UTF-8 RUN cd /tmp/ \