mirror of
https://github.com/jtesta/ssh-audit.git
synced 2026-05-25 23:41:22 +02:00
Compare commits
1 Commits
eff2949947
...
e1b29f94e4
| Author | SHA1 | Date | |
|---|---|---|---|
| e1b29f94e4 |
+1
-1
@@ -3,7 +3,7 @@ FROM python:3-slim
|
|||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
# Update the image to remediate any vulnerabilities.
|
# Update the image to remediate any vulnerabilities.
|
||||||
RUN apt clean && apt update && apt -y dist-upgrade && apt clean
|
RUN apt update && apt -y upgrade && apt -y dist-upgrade && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# 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