boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

Containerfile.alpine-gcc (745B)


      1 ## Alpine with gcc + musl-dev + binutils baked in, used by the
      2 ## `make tcc-gcc` sanity-check target (Makefile).
      3 ##
      4 ## tcc-gcc compiles the same tcc.flat.c + libc.flat.c our cc.scm path
      5 ## consumes, but with stock gcc + libgcc soft-float helpers + a tiny
      6 ## hand-rolled _start / sys_* shim (tcc/gcc/<arch>/). It's a known-good
      7 ## reference: if our cc.scm-built tcc-boot2 misbehaves and tcc-gcc
      8 ## doesn't, the bug is in our codegen, not the source.
      9 ##
     10 ## Built per --platform; tag as boot2-alpine-gcc:<arch>. We don't pin
     11 ## a digest here because alpine:3.20 is only used by this opt-in
     12 ## harness — re-pin if the harness becomes load-bearing.
     13 
     14 FROM docker.io/library/alpine:3.20
     15 
     16 RUN apk add --no-cache gcc musl-dev binutils
     17 
     18 CMD ["/bin/sh"]