diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..aa2dd88 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +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"]