Skip to content

Instantly share code, notes, and snippets.

@thiagosanches
Last active January 13, 2023 19:03
Show Gist options
  • Save thiagosanches/2b439d6eb8d592105cf7b83e0326319c to your computer and use it in GitHub Desktop.
Save thiagosanches/2b439d6eb8d592105cf7b83e0326319c to your computer and use it in GitHub Desktop.
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