mirror of
https://github.com/rancher/os.git
synced 2025-08-01 15:08:47 +00:00
16 lines
507 B
Docker
Executable File
16 lines
507 B
Docker
Executable File
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
|
|
COPY rancheros.iso /source/assets/rancheros.iso
|
|
CMD ["/source/scripts/build.sh"]
|
|
|
|
ENV DAPPER_RUN_ARGS --device /dev/kvm --privileged
|
|
ENV DAPPER_OUTPUT dist
|
|
ENV DAPPER_ENV APPEND NAME
|