local-server/Dockerfile

19 lines
543 B
Docker
Raw Normal View History

2018-11-13 03:44:15 +00:00
# ------------------------------------------------------------------------
2019-10-16 08:17:22 +00:00
from mcluseau/golang-builder:1.13.1 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
run apt-get update \
2018-11-13 03:44:15 +00:00
&& apt-get install -y genisoimage gdisk dosfstools util-linux udev \
&& 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-04-12 16:17:49 +00:00
run apt-get install -y ca-certificates \
&& apt-get clean
2018-11-13 03:44:15 +00:00
copy --from=build /go/bin/ /bin/