Docker containing an OpenSDE builder
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

19 lines
340 B

FROM scratch
MAINTAINER Nagy Károly Gábriel <nagy.karoly@opensde.org>
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"]