Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade ubuntu from 20.04 to rolling #2065

Merged
merged 2 commits into from
Jan 17, 2023

Conversation

msaroufim
Copy link
Member

This PR was automatically created by Snyk using the credentials of a real user.


Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.

Changes included in this PR

  • docker/Dockerfile.dev

We recommend upgrading to ubuntu:rolling, as this image has only 6 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.

Some of the most important vulnerabilities in your base image include:

Severity Priority Score / 1000 Issue Exploit Maturity
low severity 150 Uncontrolled Recursion
SNYK-UBUNTU2004-PCRE3-580031
No Known Exploit
low severity 150 Time-of-check Time-of-use (TOCTOU)
SNYK-UBUNTU2004-SHADOW-577863
No Known Exploit
low severity 150 Time-of-check Time-of-use (TOCTOU)
SNYK-UBUNTU2004-SHADOW-577863
No Known Exploit
medium severity 300 Off-by-one Error
SNYK-UBUNTU2004-SYSTEMD-3098845
No Known Exploit
medium severity 300 Off-by-one Error
SNYK-UBUNTU2004-SYSTEMD-3098845
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@codecov
Copy link

codecov bot commented Jan 9, 2023

Codecov Report

Merging #2065 (1aaa788) into master (3ca7834) will not change coverage.
The diff coverage is n/a.

❗ Current head 1aaa788 differs from pull request most recent head 99e48b4. Consider uploading reports for the commit 99e48b4 to get more accurate results

@@           Coverage Diff           @@
##           master    #2065   +/-   ##
=======================================
  Coverage   53.38%   53.38%           
=======================================
  Files          71       71           
  Lines        3224     3224           
  Branches       56       56           
=======================================
  Hits         1721     1721           
  Misses       1503     1503           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@msaroufim
Copy link
Member Author

Logs

(base) ubuntu@ip-172-31-17-70:~/serve/docker$ ./build_image.sh -bt dev -b snyk-fix-e1077ba036875975fd0ab47e0f5bffb7 -g -cv cu117 -t marksaroufim/torchserve:gpu-latest
[+] Building 385.9s (14/14) FINISHED                                                 
 => [internal] load build definition from Dockerfile.dev                        0.9s
 => => transferring dockerfile: 4.32kB                                          0.0s
 => [internal] load .dockerignore                                               1.1s
 => => transferring context: 2B                                                 0.0s
 => resolve image config for docker.io/docker/dockerfile:experimental           0.7s
 => [auth] docker/dockerfile:pull token for registry-1.docker.io                0.0s
 => CACHED docker-image://docker.io/docker/dockerfile:experimental@sha256:600e  0.0s
 => [internal] load metadata for docker.io/nvidia/cuda:11.7.0-cudnn8-runtime-u  0.5s
 => [auth] nvidia/cuda:pull token for registry-1.docker.io                      0.0s
 => CACHED [compile-image 1/3] FROM docker.io/nvidia/cuda:11.7.0-cudnn8-runtim  0.0s
 => [compile-image 2/3] RUN --mount=type=cache,id=apt-dev,target=/var/cache/a  98.2s
 => [compile-image 3/3] RUN update-alternatives --install /usr/bin/python pyth  0.4s
 => [dev-image 1/2] RUN if [ "gpu" = "gpu" ]; then export USE_CUDA=1; fi      226.0s 
 => [dev-image 2/2] WORKDIR /home/model-server                                  0.0s 
 => [final-image 1/1] RUN echo "dev image creation completed"                   0.4s 
 => exporting to image                                                         38.2s 
 => => exporting layers                                                        38.2s 
 => => writing image sha256:b1586f945f96fcf36c0c496cc37017b89afc3a762cb23b04e5  0.0s 
 => => naming to docker.io/marksaroufim/torchserve:gpu-latest    

@msaroufim msaroufim merged commit 5ac9c51 into master Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants