upgrade dockerfile

This commit is contained in:
Mikaël Cluseau 2023-05-15 19:34:51 +02:00
parent dac6613646
commit 4ed50e3b78

View File

@ -1,8 +1,8 @@
# ------------------------------------------------------------------------ # ------------------------------------------------------------------------
from mcluseau/golang-builder:1.20.3 as build from mcluseau/golang-builder:1.20.4 as build
# ------------------------------------------------------------------------ # ------------------------------------------------------------------------
from debian:stretch from debian:bullseye
entrypoint ["/bin/dkl-local-server"] entrypoint ["/bin/dkl-local-server"]
env _uncache 1 env _uncache 1
@ -16,7 +16,7 @@ run yes |apt-get install -y grub2 grub-pc-bin grub-efi-amd64-bin \
run apt-get install -y ca-certificates curl openssh-client \ run apt-get install -y ca-certificates curl openssh-client \
&& apt-get clean && 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 run curl -L https://github.com/vmware/govmomi/releases/download/v0.30.4/govc_Linux_x86_64.tar.gz | gunzip > /bin/govc && chmod +x /bin/govc
copy upload-vmware.sh govc.env /var/lib/direktil/ copy upload-vmware.sh govc.env /var/lib/direktil/