docker build -t ubuntu-build-esssential .
docker run -t -i ubuntu-build-esssential
FROM ubuntu:latest | |
RUN apt-get update | |
RUN apt-get install -y --no-install-recommends apt-utils build-essential sudo git | |
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo | |
USER docker |