Dockerfile.dapper 507 B

12345678910111213141516
  1. FROM debian:jessie
  2. RUN apt-get update && \
  3. apt-get install --no-install-recommends -y qemu-kvm qemu-utils curl ca-certificates
  4. RUN mkdir -p /source/assets
  5. # Change here to build a specific version
  6. ENV VERSION latest
  7. #RUN curl -fL https://releases.rancher.com/os/${VERSION}/rancheros.iso > /source/assets/rancheros.iso
  8. COPY rancheros.iso /source/assets/rancheros.iso
  9. CMD ["/source/scripts/build.sh"]
  10. ENV DAPPER_RUN_ARGS --device /dev/kvm --privileged
  11. ENV DAPPER_OUTPUT dist
  12. ENV DAPPER_ENV APPEND NAME