mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-09 04:45:23 +01:00
initial docker build support
This commit is contained in:
parent
63b24502c7
commit
e327b20cc8
2 changed files with 30 additions and 3 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue