Skip to content

Commit

Permalink
Remove newly outdated vulnerability removal
Browse files Browse the repository at this point in the history
The file /opt/pycharm/bin/repair is not included in the Docker image as of
PyCharm 2024.3, so its removal to reduce vulnerabilities is no longer required.

Resolves error during build:

    rycus86#15 [linux/amd64 6/8] RUN rm /opt/pycharm/bin/repair
    rycus86#15 0.076 rm: cannot remove '/opt/pycharm/bin/repair': No such file or directory
    rycus86#15 ERROR: process "/bin/bash -c rm /opt/pycharm/bin/repair" did not complete successfully: exit code: 1
  • Loading branch information
dsotirho-ucsc committed Nov 28, 2024
1 parent dd9e0f6 commit 5183be6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ RUN set -o pipefail \
# GHSA-h6ch-v84p-w6p9⁠ CVE-2020-7712⁠
RUN rm -rf /opt/pycharm/plugins/textmate

# CVE-2023-24539 CVE-2023-24540 CVE-2023-29400 CVE-2023-29403 CVE-2023-39325
# CVE-2023-44487 CVE-2021-21353⁠
RUN rm /opt/pycharm/bin/repair

RUN useradd -ms /bin/bash developer

USER developer
Expand Down

0 comments on commit 5183be6

Please sign in to comment.