Skip to content

Instantly share code, notes, and snippets.

@minhoryang
Last active Feb 9, 2022
Embed
What would you like to do?
docker-ubuntu-build-essential

docker-ubuntu-build-essential

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment