9elements / firmware-action

Build system for firmware images for several open source firmware solutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dockerfile creates user who is member of sudo group

AtomicFS opened this issue · comments

All the Docker files create a user ubuntu who is a part of sudo group. This can be problematic and maybe should be removed, unless it breaks something.

RUN useradd -rm -d /home/ubuntu -s /bin/bash -g root -G sudo -u 1001 ubuntu

Problem is being reported by MegaLinter [REPOSITORY][checkov].

Blocked by issues in milestone 1