diff --git a/Dockerfile b/Dockerfile index bf33b23d65953319a17f495305272ace917a4bda..37b6198890d863b1659778b2d8140475fcd04c73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,11 +22,11 @@ RUN yum -y update \ RUN rm -rf /usr/libexec/sudo/sesh -ARG CODESONAR_PACKAGE=codesonar-5.4p0.20200911-x86_64-pc-linux.tar.gz +ARG CODESONAR_PACKAGE=codesonar-6.0p0.20210331-x86_64-pc-linux.tar.gz COPY ["${CODESONAR_PACKAGE}", "/opt"] RUN tar -zxvf /opt/${CODESONAR_PACKAGE} -C /opt RUN rm -rf /opt/${CODESONAR_PACKAGE} -RUN ln -s /opt/codesonar-5.4p0 /opt/codesonar +RUN ln -s /opt/codesonar-6.0p0 /opt/codesonar RUN useradd -ms /bin/bash codesonar # remove some packages that are not needed