initial docker build support

This commit is contained in:
Lance R. Vick 2024-01-13 12:36:12 -08:00
parent 490bc621a5
commit 7cfeddf82d
No known key found for this signature in database
GPG key ID: 8E47A1EC35A1551D
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"]