mirror of
https://github.com/rancher/os.git
synced 2025-10-23 00:22:27 +00:00
@@ -1,5 +1,6 @@
|
|||||||
FROM scratch
|
FROM scratch
|
||||||
ADD assets/rootfs.tar /
|
ADD assets/rootfs.tar /
|
||||||
|
RUN ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules
|
||||||
# Cleanup Buildroot
|
# Cleanup Buildroot
|
||||||
RUN rm /sbin/poweroff /sbin/reboot /sbin/halt && \
|
RUN rm /sbin/poweroff /sbin/reboot /sbin/halt && \
|
||||||
sed -i '/^root/s!/bin/sh!/bin/bash!' /etc/passwd && \
|
sed -i '/^root/s!/bin/sh!/bin/bash!' /etc/passwd && \
|
||||||
|
Reference in New Issue
Block a user