mirror of
https://github.com/rancher/os.git
synced 2025-07-13 22:54:03 +00:00
14 lines
418 B
Docker
14 lines
418 B
Docker
|
FROM debian:jessie
|
||
|
RUN apt-get update && \
|
||
|
apt-get install --no-install-recommends -y qemu-kvm qemu-utils curl ca-certificates
|
||
|
RUN mkdir -p /source/assets
|
||
|
|
||
|
# Change here to build a specific version
|
||
|
ENV VERSION latest
|
||
|
|
||
|
RUN curl -fL https://releases.rancher.com/os/${VERSION}/rancheros.iso > /source/assets/rancheros.iso
|
||
|
CMD ["/source/scripts/build.sh"]
|
||
|
|
||
|
ENV DAPPER_RUN_ARGS --device /dev/kvm
|
||
|
ENV DAPPER_OUTPUT dist
|