mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
B #-: Don't fail docker build if resolv.conf is RO (#2486)
(cherry picked from commit dbf1e882b14d0b0b49b0ad41a2987ab628047043)
This commit is contained in:
parent
1c938fe928
commit
2efd46f163
@ -18,6 +18,6 @@ COPY context /root/context
|
||||
%ONE_ENTRYPOINT%
|
||||
RUN if [ -f /one_entrypoint.sh ]; then chmod u+x /one_entrypoint.sh; fi
|
||||
RUN rm -rf /root/context
|
||||
RUN echo "#Generated by OpenNebula" > /etc/resolv.conf
|
||||
RUN if [ -w /etc/resolv.conf]; then echo "#Generated by OpenNebula" > /etc/resolv.conf; fi
|
||||
RUN rm -f /etc/ssh/ssh_host_* > /dev/null 2>&1
|
||||
RUN if [ `command -v usermod` ]; then usermod -p '*' root > /dev/null 2>&1; fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user