setup Dockerfile to run asm

This commit is contained in:
SowinskiBraeden committed 2025-11-13 13:22:21 -08:00
commit efeb3cf114
3 files changed
+26

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
FROM ubuntu:latest
RUN apt-get update && apt-get install -y nasm gcc gdb vim
COPY main.asm /app/main.asm
WORKDIR /app
RUN nasm -f elf64 main.asm -o main.o
RUN ld main.o -o main
CMD ["./main"]