diff --git a/dmp-frontend/Dockerfile.Sonar b/dmp-frontend/Dockerfile.Sonar index 567b06088..9640c5c0c 100644 --- a/dmp-frontend/Dockerfile.Sonar +++ b/dmp-frontend/Dockerfile.Sonar @@ -7,7 +7,8 @@ ENV ORACLE_URL=$ORACLE_URL ENV ORACLE_TOKEN=$ORACLE_TOKEN ENV BUILD_VERSION=$BUILD_VERSION -RUN apt-get -y update && apt-get install -y openjdk-11-jdk locales && apt-get clean +RUN npm list -g --depth=0 +RUN apt-get -y update && apt-get install -y default-jre locales && apt-get clean RUN mkdir -p /usr/share/man/man1/ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ locale-gen