initial docker build support

This commit is contained in:
Lance R. Vick 2024-01-13 12:36:12 -08:00 committed by Kevin Nause
parent 63b24502c7
commit e327b20cc8
2 changed files with 30 additions and 3 deletions

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM local/stage0 as stage0
FROM debian as fetch
RUN apt update && apt install -y curl gcc
ADD . live-bootstrap
WORKDIR live-bootstrap
RUN ./download-distfiles.sh
RUN mv target/ /rootfs/
FROM scratch as build
COPY --from=fetch /rootfs .
ENV PATH=/bin
RUN ["/bootstrap-seeds/POSIX/x86/kaem-optional-seed"]