Skip to content

Commit

Permalink
security fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nleach999 committed Apr 11, 2024
1 parent 3b70659 commit f99837c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ LABEL org.opencontainers.image.vendor Checkmarx Professional Services
LABEL org.opencontainers.image.title Checkmarx One Scan Scheduler
LABEL org.opencontainers.image.description Schedules scans for projects in Checkmarx One

USER root

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata && \
Expand All @@ -17,7 +18,7 @@ RUN apt-get update && \
WORKDIR /opt/cxone
COPY *.txt /opt/cxone

RUN pip install -r requirements.txt --break-system-packages && \
RUN pip install -r requirements.txt --no-cache-dir --break-system-packages && \
apt-get remove -y perl && \
apt-get autoremove -y && \
apt-get clean && \
Expand Down

0 comments on commit f99837c

Please sign in to comment.