Initial commit: try make binaries

This commit is contained in:
2025-09-14 15:34:16 +02:00
commit 789fa1306c
8 changed files with 364 additions and 0 deletions

29
Dockerfile Normal file
View File

@@ -0,0 +1,29 @@
FROM ubuntu:jammy AS deps
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:tkchia/build-ia16
RUN apt-get update && apt-get install -y gcc-ia16-elf
RUN apt-get install nasm make
FROM deps AS dev
WORKDIR /workspace
RUN adduser --home /workspace paul
USER 1000:1000
FROM deps AS build
ARG TARGET
ADD . /workspace
WORKDIR /workspace
RUN make ${TARGET}
FROM scratch AS export
ARG TARGET
COPY --from=build /workspace/${TARGET} /