mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-06-23 22:02:25 +00:00
build and convert implementations
centos: WIP Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
19
templates/debian.Dockerfile
Normal file
19
templates/debian.Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
FROM {{ .Image }}
|
||||
|
||||
USER root
|
||||
|
||||
RUN apt-get -y update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
|
||||
linux-image-amd64
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
systemd-sysv \
|
||||
systemd \
|
||||
dbus \
|
||||
iproute2 \
|
||||
udhcpc \
|
||||
iputils-ping
|
||||
|
||||
RUN systemctl preset-all
|
||||
|
||||
RUN echo "root:{{- if .Password}}{{ .Password}}{{- else}}root{{- end}}" | chpasswd
|
Reference in New Issue
Block a user