aws-codebuild-docker-images icon indicating copy to clipboard operation
aws-codebuild-docker-images copied to clipboard

npm logs are retained in images

Open moltar opened this issue 1 year ago • 0 comments

Describe the bug

NPM logs are baked into the Docker images.

To Reproduce

  • Launch CodeBuild
  • ls -lA ~/.npm/_logs/

Expected behavior

No logs.

Logs

 ls -lA ~/.npm/_logs/
total 312
-rw-r--r-- 1 root root  1550 May  2 19:00 2024-05-02T19_00_45_220Z-debug-0.log
-rw-r--r-- 1 root root 71237 May  2 19:00 2024-05-02T19_00_45_445Z-debug-0.log
-rw-r--r-- 1 root root 29614 May  2 19:00 2024-05-02T19_00_48_107Z-debug-0.log
-rw-r--r-- 1 root root 61329 May  2 19:00 2024-05-02T19_00_48_910Z-debug-0.log
-rw-r--r-- 1 root root  3495 May  2 19:00 2024-05-02T19_00_51_324Z-debug-0.log
-rw-r--r-- 1 root root  1603 May  2 19:00 2024-05-02T19_00_51_938Z-debug-0.log
-rw-r--r-- 1 root root  1548 May  2 19:00 2024-05-02T19_00_56_735Z-debug-0.log
-rw-r--r-- 1 root root 47710 May  2 19:00 2024-05-02T19_00_56_918Z-debug-0.log
-rw-r--r-- 1 root root 30034 May  2 19:00 2024-05-02T19_00_57_967Z-debug-0.log
-rw-r--r-- 1 root root 41692 May  2 19:00 2024-05-02T19_00_58_670Z-debug-0.log
-rw-r--r-- 1 root root  1617 May  2 19:01 2024-05-02T19_01_00_244Z-debug-0.log
-rw-r--r-- 1 root root  1537 May  2 19:25 2024-05-02T19_25_25_887Z-debug-0.log

Platform (please complete the following information):

aws/codebuild/standard:7.0

Additional context

N/A

moltar avatar Jun 03 '24 09:06 moltar