local-server/Dockerfile
Mikaël Cluseau b6fa941fcc cleanup
2023-05-22 19:16:11 +02:00

20 lines
596 B
Docker

# ------------------------------------------------------------------------
from mcluseau/golang-builder:1.20.4 as build
# ------------------------------------------------------------------------
from debian:bullseye
entrypoint ["/bin/dkl-local-server"]
env _uncache 1
run apt-get update \
&& apt-get install -y genisoimage gdisk dosfstools util-linux udev binutils systemd \
&& apt-get clean
run yes |apt-get install -y grub2 grub-pc-bin grub-efi-amd64-bin \
&& apt-get clean
run apt-get install -y ca-certificates curl openssh-client \
&& apt-get clean
copy --from=build /go/bin/ /bin/