mirror of
https://github.com/rancher/os.git
synced 2025-06-24 14:01:34 +00:00
14 lines
364 B
Docker
14 lines
364 B
Docker
FROM ubuntu:16.04
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
RUN apt-get update && \
|
|
apt-get install --no-install-recommends -y udev grub2 parted kexec-tools && \
|
|
rm -rf /var/lib/apt/*
|
|
|
|
COPY ./build/vmlinuz ./build/initrd /dist/
|
|
COPY conf lay-down-os seed-data set-disk-partitions /scripts/
|
|
|
|
ARG VERSION
|
|
ENV VERSION=${VERSION}
|
|
|
|
ENTRYPOINT ["/scripts/lay-down-os"]
|