-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
We are creating image for CoreNLP from below DockerFile and making it run as a container on an instance. However, we observed that corenlp is working as expected on commercial linux VMs but failing on FIPS enabled linux VMs.
Note :- Issue is occurring only on corenlp version 4.5.8 but working fine with version 4.5.2
Error :-
"Can't find /corenlp"
Please reach out to our official mail ids given below. We are licensed customer.
(Nilesh.Mishra@icertis.com)
(Anjul.Tripathi@icertis.com)
(Rakesh.Kalange@icertis.com)
`FROM ubuntu:22.04
RUN apt update &&
apt-get install -y wget &&
apt install -y openjdk-11-jre-headless &&
apt-get -y install ubuntu-advantage-tools &&
apt-get install -y unzip
RUN wget http://nlp.stanford.edu/software/stanford-corenlp-4.5.8.zip --no-check-certificate;
unzip stanford-corenlp-4.5.8.zip;
rm -f stanford-corenlp-4.5.8.zip;
mv stanford-corenlp-4.5.8 CoreNLP;
cd CoreNLP;
export CLASSPATH=""; for file in find . -name "*.jar"
; do export CLASSPATH="$CLASSPATH:realpath $file
"; done
RUN apt-get remove -y wget unzip
WORKDIR CoreNLP
CMD java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -port 9000 -timeout 100000 -maxCharLength 2000000 -preload tokenize,ssplit,pos,lemma,ner,depparse`