mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-06-24 22:22:26 +00:00
build and convert implementations
centos: WIP Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
20
templates/ubuntu.Dockerfile
Normal file
20
templates/ubuntu.Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
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
|
Reference in New Issue
Block a user