mirror of
https://github.com/linka-cloud/d2vm.git
synced 2026-06-04 10:40:24 +00:00
c2f6e4ae5d
centos: WIP Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
21 lines
395 B
Docker
21 lines
395 B
Docker
FROM {{ .Image }}
|
|
|
|
USER root
|
|
|
|
RUN apt-get update -y && \
|
|
apt-get -y install \
|
|
linux-image-virtual
|
|
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
systemd-sysv \
|
|
systemd \
|
|
dbus \
|
|
udhcpc \
|
|
iproute2 \
|
|
iputils-ping
|
|
|
|
RUN systemctl preset-all
|
|
|
|
RUN echo "root:{{- if .Password}}{{ .Password}}{{- else}}root{{- end}}" | chpasswd
|