FROM scratch MAINTAINER Nagy Károly Gábriel ADD files/rootfs.tar.bz2 / ENV USER builder ENV GROUP builder ENV HOME /home/${USER} RUN groupadd -g 1000 ${GROUP} RUN useradd -m -s /bin/bash -u 1000 -g ${GROUP} ${USER} VOLUME ${HOME} ENV PATH ${HOME}/bin:${PATH} USER ${USER} WORKDIR ${HOME} CMD ["/bin/bash"]