1
0
mirror of https://github.com/rancher/os.git synced 2025-08-01 15:08:47 +00:00
os/scripts/images/openstack/Dockerfile.dapper
Sven Dowideit a8ade0f873 Add building and running openstack image to Makefile
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 18:44:20 +10:00

15 lines
467 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