Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-packages/blob/main/docker/Dockerfile # omega-packages aien-dev/omega-packages Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-packages / docker / Dockerfile` 26 lines ยท 1484 bytes Raw Blame History 1 # syntax=docker/dockerfile:1.7 2 # ghcr.io/aien-dev/omc -- omc born from the 408-byte seed inside BusyBox, shipped FROM scratch. 3 # The build stage uses BusyBox sh, printf, sed, stat, cmp and sha256sum to run omega-mv's 4 # seed/omega-from-seed.sh; nothing else touches the bytes. linux/arm64 only. 5 # docker run --rm -i ghcr.io/aien-dev/omc:0.0.0-git.`e5b32567` < hello.om > hello 6 ARG OMEGA_MV_COMMIT=`e5b32567a7aff3ce594e3254a622a846a6cd190b` 7 ARG OMC_SHA256=`2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f` 8 9 FROM --platform=linux/arm64 busybox:1.37.0-musl@sha256:`5cec3fc171c87218698e85a52af7087de727372aae264a787b8112901a5b0092` AS seed 10 ARG OMEGA_MV_COMMIT 11 ARG OMC_SHA256 12 ADD --checksum=sha256:`c621b6cefe728d67a1a253a9d8991495406460d365dd91ea356451eb2254a95c` \ 13 https://github.com/aien-dev/omega-mv/archive/`e5b32567a7aff3ce594e3254a622a846a6cd190b`.tar.gz /src.tar.gz 14 RUN set -eu; tar -xzf /src.tar.gz -C /; cd "/omega-mv-$OMEGA_MV_COMMIT"; \ 15 sh seed/omega-from-seed.sh; \ 16 echo "$OMC_SHA256 seed/out/omc" | sha256sum -c -; \ 17 cp seed/out/omc /omc 18 19 FROM scratch 20 ARG OMEGA_MV_COMMIT 21 LABEL org.opencontainers.image.source="https://github.com/aien-dev/omega-packages" \ 22 org.opencontainers.image.description="omc, the Omega compiler, born from a 408-byte seed (stdin .om -> stdout AArch64 ELF)" \ 23 org.opencontainers.image.licenses="Apache-2.0" \ 24 org.opencontainers.image.revision="${OMEGA_MV_COMMIT}" 25 COPY --from=seed /omc /omc 26 ENTRYPOINT ["/omc"]