2016-12-06 03:16:18 +00:00
|
|
|
FROM rancher/os-installer
|
2016-06-07 06:00:15 +00:00
|
|
|
|
2016-06-13 23:33:07 +00:00
|
|
|
ARG VERSION
|
2016-12-04 11:27:06 +00:00
|
|
|
ARG KERNEL_VERSION
|
2016-06-13 23:33:07 +00:00
|
|
|
ENV VERSION=${VERSION}
|
2016-12-04 11:27:06 +00:00
|
|
|
ENV KERNEL_VERSION=${KERNEL_VERSION}
|
2016-06-13 23:33:07 +00:00
|
|
|
|
2016-12-04 11:27:06 +00:00
|
|
|
# TODO: separate out the 3 elements below - so we can mix and match updates
|
2016-12-06 03:16:18 +00:00
|
|
|
RUN rm /dist/ \
|
|
|
|
&& mkdir -p /dist/
|
2016-12-04 11:27:06 +00:00
|
|
|
COPY ./build/vmlinuz-${KERNEL_VERSION} ./build/initrd ./build/ros /dist/
|
2016-12-06 03:16:18 +00:00
|
|
|
|