Improved build commands

This commit is contained in:
2022-01-02 20:19:53 +01:00
parent e0979ed357
commit 271ab8860f
8 changed files with 54 additions and 29 deletions

View File

@@ -1,29 +1,18 @@
version: "3.5"
services:
make:
build:
image: thomasloven/mittos-build
build:
context: .
dockerfile: Dockerfile.build
volumes:
- ..:/opt
command: make
emul:
run:
image: thomasloven/mittos-run
build:
context: .
dockerfile: Dockerfile.run
volumes:
- ..:/opt
command: qemu-system-x86_64 -s -S -cdrom /opt/dist/mittos.iso -curses
dbg:
image: thomasloven/mittos-run
build:
context: .
dockerfile: Dockerfile.run
volumes:
- ..:/opt
command: gdb -q -x /opt/toolchain/gdbinit
- ..:/opt

View File

@@ -5,6 +5,7 @@ target remote emul:1234
define q
monitor quit
quit
end
define reg