1
0
mirror of https://github.com/rancher/os.git synced 2025-08-07 17:54:12 +00:00
os/scripts/images/openstack/Dockerfile.dapper
Sven Dowideit 2cd67d9bbe make qcow images customizable, and build one for Digital Ocean
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-26 04:40:04 +00:00

16 lines
494 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
ENV DAPPER_OUTPUT dist
ENV DAPPER_ENV APPEND NAME