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

  1. FROM scratch
  2. MAINTAINER Nagy Károly Gábriel <nagy.karoly@opensde.org>
  3. ADD files/rootfs.tar.bz2 /
  4. ENV USER builder
  5. ENV GROUP builder
  6. ENV HOME /home/${USER}
  7. RUN groupadd -g 1000 ${GROUP}
  8. RUN useradd -m -s /bin/bash -u 1000 -g ${GROUP} ${USER}
  9. VOLUME ${HOME}
  10. ENV PATH ${HOME}/bin:${PATH}
  11. USER ${USER}
  12. WORKDIR ${HOME}
  13. CMD ["/bin/bash"]