2020-11-18 23:23:15 +00:00
|
|
|
FROM debian:buster
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
2020-11-20 10:32:45 +00:00
|
|
|
apt-get install -y --force-yes sudo bats git gnupg openssl shellcheck psmisc
|
2020-11-18 23:23:15 +00:00
|
|
|
|
2020-11-19 21:40:38 +00:00
|
|
|
RUN useradd -m test -G sudo -s /bin/bash
|
|
|
|
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
2020-11-18 23:23:15 +00:00
|
|
|
|
|
|
|
USER test
|
|
|
|
|
|
|
|
WORKDIR /home/test
|