local-server/Dockerfile

24 lines
782 B
Docker
Raw Normal View History

2018-11-13 03:44:15 +00:00
# ------------------------------------------------------------------------
from mcluseau/golang-builder:1.19.4 as build
2018-06-19 06:49:34 +00:00
2018-11-13 03:44:15 +00:00
# ------------------------------------------------------------------------
from debian:stretch
entrypoint ["/bin/dkl-local-server"]
2018-06-19 06:49:34 +00:00
2019-10-19 04:08:41 +00:00
env _uncache 1
2018-06-19 06:49:34 +00:00
run apt-get update \
2022-04-28 01:33:19 +00:00
&& apt-get install -y genisoimage gdisk dosfstools util-linux udev binutils systemd \
2018-11-13 03:44:15 +00:00
&& apt-get clean
2019-02-14 00:24:14 +00:00
run yes |apt-get install -y grub2 grub-pc-bin grub-efi-amd64-bin \
&& apt-get clean
2019-12-03 10:03:20 +00:00
run apt-get install -y ca-certificates curl openssh-client \
2019-04-12 16:17:49 +00:00
&& apt-get clean
run curl -L https://github.com/vmware/govmomi/releases/download/v0.21.0/govc_linux_amd64.gz | gunzip > /bin/govc && chmod +x /bin/govc
copy upload-vmware.sh govc.env /var/lib/direktil/
2018-11-13 03:44:15 +00:00
copy --from=build /go/bin/ /bin/