Skip to content

Instantly share code, notes, and snippets.

View franciscoruiz's full-sized avatar

Francisco Ruiz franciscoruiz

View GitHub Profile
@bdaylik
bdaylik / Dockerfile
Created March 9, 2015 08:19
Dockerfile used in the "Dockerize your development environment" blog post.
FROM ubuntu
RUN apt-get install -y x11-apps
ENV USER=myuser UID=1000 GID=1000
RUN addgroup --gid ${GID} ${USER}
RUN adduser --home /home/${USER} --shell /bin/bash --uid ${UID} --gid ${GID} --disabled-password ${USER}
RUN echo "${USER} ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/${USER}
RUN chmod 0440 /etc/sudoers.d/${USER}