1- FROM  mend/base-repo-scanner:25.10 .1.2 
1+ FROM  mend/base-repo-scanner:25.9 .1.8-cap 
22
33ARG  USER_NAME=wss-scanner
44ARG  USER_ID=1000
@@ -22,17 +22,12 @@ SHELL ["/bin/bash", "-c"]
2222RUN  echo "Downloading PSB version 8.1" 
2323ARG  PSB_URL=https://downloads.mend.io/production/sca/pre-scan-builder/25.8.1/linux_amd64/psb
2424RUN  curl $PSB_URL --create-dirs -o /psb/bin/psb && chmod 0775 -R /psb
25- #  ┌────────────┬────────────┬────────────────────────────────────────────────────┐
26- #  │ Severity   │ Count      │ CVEs                                               │
27- #  ├────────────┼────────────┼────────────────────────────────────────────────────┤
28- #  │ High       │ 2          │ CVE-2025-47907, CVE-2024-34156                     │
29- #  └────────────┴────────────┴────────────────────────────────────────────────────┘
3025ENV  PATH=$PATH:/psb/bin/
3126
3227#  Download the mend sca tool
3328# --build-arg $SCA_TOOL_URL=URL
3429USER  0
35- ARG  SCA_TOOL_URL=https://downloads.mend.io/production/sca/sca-wrapper/25.9.1.1 /linux_amd64/sca-wrapper
30+ ARG  SCA_TOOL_URL=https://downloads.mend.io/production/sca/sca-wrapper/25.8.2.3 /linux_amd64/sca-wrapper
3631RUN  echo "Downloading Mend SCA tool [$SCA_TOOL_URL]" 
3732RUN  curl $SCA_TOOL_URL --create-dirs -o /sca-wrapper/bin/sca-wrapper && chmod 0777 -R /sca-wrapper
3833ENV  MEND_SCA_BIN_DIR=/sca-wrapper/bin
@@ -41,22 +36,8 @@ ENV MEND_SCA_SCAN_PRINT_ENGINE_LOGS=true
4136USER  ${USER_ID}
4237RUN  sca_tool_version="$(sca-wrapper version)"  && echo "Mend-SCA-Tool Version:"  $sca_tool_version
4338RUN  sca-wrapper init
44- #  ┌────────────┬────────────┬────────────────────────────────────────────────────┐
45- #  │ Severity   │ Count      │ CVEs                                               │
46- #  ├────────────┼────────────┼────────────────────────────────────────────────────┤
47- #  │ Critical   │ 1          │ CVE-2023-42282                                     │
48- #  ├────────────┼────────────┼────────────────────────────────────────────────────┤
49- #  │ High       │ 3          │ CVE-2024-29415, CVE-2024-21538, CVE-2022-25883     │
50- #  └────────────┴────────────┴────────────────────────────────────────────────────┘
5139USER  0
5240RUN  chmod 0777 -R /sca-wrapper
53- #  ┌────────────┬────────────┬───────────────────────────────────────────────────────────────────┐
54- #  │ Severity   │ Count      │ CVEs                                                              │
55- #  ├────────────┼────────────┼───────────────────────────────────────────────────────────────────┤
56- #  │ High       │ 12         │ CVE-2025-22869, CVE-2025-47907, CVE-2025-47907, CVE-2024-34156    │
57- #  │            │            │ CVE-2025-47907, CVE-2025-22874, CVE-2025-30204, CVE-2025-47907    │
58- #  │            │            │ CVE-2024-7254, CVE-2022-3510, CVE-2022-3509, CVE-2022-3171        │
59- #  └────────────┴────────────┴───────────────────────────────────────────────────────────────────┘
6041
6142#  Download the SAST CLI and set it in $PATH, can be replaced by:
6243# --build-arg SASTCLI=URL
@@ -67,12 +48,6 @@ ENV PATH=$PATH:/sast/bin
6748
6849# ## copy folder
6950COPY  docker-image-scanner/ /
70- #  ┌────────────┬────────────┬─────────────────────────────────────────────────────────────────┐
71- #  │ Severity   │ Count      │ CVEs                                                            │
72- #  ├────────────┼────────────┼─────────────────────────────────────────────────────────────────┤
73- #  │ High       │ 7          │ CVE-2025-58056, CVE-2024-7254, CVE-2025-58057, CVE-2023-3894    │
74- #  │            │            │ CVE-2022-3510, CVE-2022-3509, CVE-2022-3171                     │
75- #  └────────────┴────────────┴─────────────────────────────────────────────────────────────────┘
7651
7752
7853RUN  chmod 755 /start.sh
0 commit comments