mirror of
https://github.com/rancher/os.git
synced 2025-08-05 00:39:37 +00:00
parent
ca233bef5d
commit
e60db54138
@ -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 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user