Last active
January 13, 2023 19:03
-
-
Save thiagosanches/2b439d6eb8d592105cf7b83e0326319c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
RUN apt-get update && apt-get -y install sudo | |
RUN DEBIAN_FRONTEND=noninteractive apt install -y tzdata | |
RUN adduser --disabled-password --gecos '' guest | |
RUN adduser guest sudo | |
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | |
USER guest | |
WORKDIR /home/guest | |
ENV USER guest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment