mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-10-30 21:15:27 +01:00 
			
		
		
		
	Perform full Docker image update when building.
This commit is contained in:
		| @@ -2,6 +2,9 @@ FROM python:3-slim | |||||||
|  |  | ||||||
| WORKDIR / | WORKDIR / | ||||||
|  |  | ||||||
|  | # Update the image to remediate any vulnerabilities. | ||||||
|  | RUN apt clean && apt update && apt -y dist-upgrade && apt clean | ||||||
|  |  | ||||||
| # Remove suid & sgid bits from all files. | # Remove suid & sgid bits from all files. | ||||||
| RUN find / -xdev -perm /6000 -exec chmod ug-s {} \; 2> /dev/null || true | RUN find / -xdev -perm /6000 -exec chmod ug-s {} \; 2> /dev/null || true | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Joe Testa
					Joe Testa