harbor/make/photon/trivy-adapter/Dockerfile.base
Tianon Gravi 4752cac051 Remove unused "sudo" package from most images
Notably missing is the "log" image, which still uses sudo.

Signed-off-by: Tianon Gravi <tianon@infosiftr.com>
2020-08-06 12:44:06 -07:00

7 lines
179 B
Docker

FROM photon:2.0
RUN tdnf install -y rpm >> /dev/null \
&& tdnf clean all \
&& groupadd -r -g 10000 scanner \
&& useradd --no-log-init -m -r -g 10000 -u 10000 scanner