Build via docker
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m27s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m27s
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
FROM ubuntu:latest AS builder
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get -y install clang llvm lld make xorriso gcc
|
||||||
|
|
||||||
|
WORKDIR /usr/src/MOP3
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN ./aux/devel.sh
|
||||||
|
|
||||||
|
FROM scratch
|
||||||
|
COPY --from=builder /usr/src/MOP3/mop3.iso /mop3.iso
|
||||||
26
aux/devel.sh
26
aux/devel.sh
@@ -2,23 +2,23 @@
|
|||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
debugopt=""
|
bt="buildtype=release"
|
||||||
|
|
||||||
if [ "$1" = "debug" ]; then
|
if [ "$1" = "debug" ]; then
|
||||||
debugopt="buildtype=debug"
|
bt="buildtype=debug"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make -B all_lz4
|
make -B all_lz4
|
||||||
make -B all_kernel "$debugopt"
|
make -B all_kernel "$bt"
|
||||||
make -B all_libsystem "$debugopt"
|
make -B all_libsystem "$bt"
|
||||||
make -B all_liballoc "$debugopt"
|
make -B all_liballoc "$bt"
|
||||||
make -B all_libprocess "$debugopt"
|
make -B all_libprocess "$bt"
|
||||||
make -B all_libterminal "$debugopt"
|
make -B all_libterminal "$bt"
|
||||||
make -B all_libstring "$debugopt"
|
make -B all_libstring "$bt"
|
||||||
make -B all_libkb "$debugopt"
|
make -B all_libkb "$bt"
|
||||||
make -B all_libaux "$debugopt"
|
make -B all_libaux "$bt"
|
||||||
make -B all_libarena "$debugopt"
|
make -B all_libarena "$bt"
|
||||||
make -B all_libioutil "$debugopt"
|
make -B all_libioutil "$bt"
|
||||||
make -B all_apps "$debugopt"
|
make -B all_apps "$bt"
|
||||||
make -B all_dist
|
make -B all_dist
|
||||||
./aux/limine_iso_amd64.sh
|
./aux/limine_iso_amd64.sh
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
all_lz4:
|
all_lz4:
|
||||||
make -C lz4 allmost
|
make -C lz4 -j1 allmost
|
||||||
|
|||||||
Reference in New Issue
Block a user