Skip to content

Commit 5cd6565

Browse files
Saving new files for 25.8.1.1
1 parent 47f6ac9 commit 5cd6565

File tree

4 files changed

+17
-15
lines changed

4 files changed

+17
-15
lines changed

repo-integrations/wss-ghe-app/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mend/base-repo-controller:25.7.1.1
1+
FROM mend/base-repo-controller:25.8.1.1
22

33
ARG USER_NAME=user
44
ARG USER_ID=1542

repo-integrations/wss-remediate/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mend/base-repo-remediate:25.7.1.1
1+
FROM mend/base-repo-remediate:25.8.1.1
22

33
# The containerbase supports custom user but Renovate requires ubuntu
44
ARG USER_NAME=ubuntu

repo-integrations/wss-scanner/docker/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mend/base-repo-scanner:25.7.1.1
1+
FROM mend/base-repo-scanner:25.8.1.1
22

33
ARG USER_NAME=wss-scanner
44
ARG USER_ID=1000
@@ -19,15 +19,15 @@ SHELL ["/bin/bash", "-c"]
1919

2020
# Download the pre-scan builder and set it in $PATH, can be replaced by:
2121
#--build-arg $PSB_URL=URL
22-
RUN echo "Downloading PSB version 25.4.1"
23-
ARG PSB_URL=https://downloads.mend.io/production/sca/pre-scan-builder/25.4.1/linux_amd64/psb
22+
RUN echo "Downloading PSB version 8.1"
23+
ARG PSB_URL=https://downloads.mend.io/production/sca/pre-scan-builder/25.8.1/linux_amd64/psb
2424
RUN curl $PSB_URL --create-dirs -o /psb/bin/psb && chmod 0775 -R /psb
2525
ENV PATH=$PATH:/psb/bin/
2626

2727
# Download the mend sca tool
2828
#--build-arg $SCA_TOOL_URL=URL
2929
USER 0
30-
ARG SCA_TOOL_URL=https://downloads.mend.io/production/sca/sca-wrapper/25.6.2.1/linux_amd64/sca-wrapper
30+
ARG SCA_TOOL_URL=https://downloads.mend.io/production/sca/sca-wrapper/25.7.2.1/linux_amd64/sca-wrapper
3131
RUN echo "Downloading Mend SCA tool [$SCA_TOOL_URL]"
3232
RUN curl $SCA_TOOL_URL --create-dirs -o /sca-wrapper/bin/sca-wrapper && chmod 0777 -R /sca-wrapper
3333
ENV MEND_SCA_BIN_DIR=/sca-wrapper/bin
@@ -46,6 +46,8 @@ ENV PATH=$PATH:/sast/bin
4646
### copy folder
4747
COPY docker-image-scanner/ /
4848

49+
# Temporarily copying the current Dockerfile to generate the installed-versions.json file.
50+
4951
RUN chmod 755 /start.sh
5052
RUN chgrp -R 0 ${USER_HOME} && chmod -R g=u ${USER_HOME}
5153

repo-integrations/wss-scanner/docker/Dockerfilefull

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mend/base-repo-scanner:25.7.1.1-full
1+
FROM mend/base-repo-scanner:25.8.1.1-full
22

33
ARG USER_NAME=wss-scanner
44
ARG USER_ID=1000
@@ -17,19 +17,17 @@ SHELL ["/bin/bash", "-c"]
1717
# RUN ln -s ${USER_HOME}/.local/bin/runinstall ${USER_HOME}/.local/bin/pipenv
1818
# RUN ln -s ${USER_HOME}/.local/bin/runinstall ${USER_HOME}/.local/bin/poetry
1919

20-
# Download the pre-scan builder and set it in $PATH, can be replaced by:
21-
#--build-arg $PSB_URL=URL
22-
RUN echo "Downloading PSB version 25.4.1"
23-
ARG PSB_URL=https://downloads.mend.io/production/sca/pre-scan-builder/25.4.1/linux_amd64/psb
20+
RUN echo "Downloading PSB version 25.8.1"
21+
ARG PSB_URL=https://downloads.mend.io/production/sca/pre-scan-builder/25.8.1/linux_amd64/psb
2422
RUN curl $PSB_URL --create-dirs -o /psb/bin/psb && chmod 0775 -R /psb
2523
ENV PATH=$PATH:/psb/bin/
2624

2725
# Download the mend sca tool
2826
#--build-arg $SCA_TOOL_URL=URL
2927
USER 0
30-
ARG SCA_TOOL_URL=https://downloads.mend.io/production/sca/sca-wrapper/25.6.2.1/linux_amd64/sca-wrapper
28+
ARG SCA_TOOL_URL=https://downloads.mend.io/production/sca/sca-wrapper/25.7.2.1/linux_amd64/sca-wrapper
3129
RUN echo "Downloading Mend SCA tool [$SCA_TOOL_URL]"
32-
RUN curl $SCA_TOOL_URL --create-dirs -o /sca-wrapper/bin/sca-wrapper && chmod 0777 -R /sca-wrapper
30+
RUN curl $SCA_TOOL_URL --create-dirs -o /sca-wrapper/bin/sca-wrapper && chmod 0775 -R /sca-wrapper
3331
ENV MEND_SCA_BIN_DIR=/sca-wrapper/bin
3432
ENV PATH=$PATH:$MEND_SCA_BIN_DIR
3533
ENV MEND_SCA_SCAN_PRINT_ENGINE_LOGS=true
@@ -46,6 +44,8 @@ ENV PATH=$PATH:/sast/bin
4644
### copy folder
4745
COPY docker-image-scanner/ /
4846

47+
# Temporarily copying the current Dockerfile to generate the installed-versions.json file.
48+
4949
RUN chmod 755 /start.sh
5050
RUN chgrp -R 0 ${USER_HOME} && chmod -R g=u ${USER_HOME}
5151

@@ -55,7 +55,7 @@ ENV LOG4J_FORMAT_MSG_NO_LOOKUPS=true
5555
### Switch User ###
5656
ENV HOME ${USER_HOME}
5757
WORKDIR ${USER_HOME}
58-
USER ${USER_NAME}
58+
USER ${USER_ID}
5959
ARG JAVA_OPTS
6060
ENV JAVA_OPTS=${JAVA_OPTS}
6161
ENV JDK_JAVA_OPTIONS "--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED"
@@ -64,7 +64,7 @@ EXPOSE 9393
6464

6565
ENTRYPOINT ["docker-entrypoint.sh"]
6666
# Mend traceability labels
67-
LABEL io.mend.image.dockerfile.path=integration-new/github-scanner-parent/scm-packaging/src/assembly-staging/docker/Dockerfile
67+
LABEL io.mend.image.dockerfile.path=integration-new/github-scanner-parent/scm-packaging/src/assembly-staging/docker/Dockerfilefull
6868
LABEL org.opencontainers.image.source=https://github.com/whitesource/github-scanner
6969

7070
CMD ["/start.sh"]

0 commit comments

Comments
 (0)