# syntax=docker/dockerfile:1 FROM alpine:edge RUN --mount=type=cache,target=/etc/apk/cache apk add -u alpine-sdk RUN git clone --depth=1 https://github.com/alpinelinux/aports WORKDIR aports/community/chromium RUN --mount=type=cache,target=/etc/apk/cache \ abuild -F fetch deps unpack prepare # this does /not/ fail with # gcc 12 libgcc # gcc 13 libgcc installed above, which has the patch from this email thread. # to reproduce it, you have to build a libgcc without the patch and put it in # /usr/lib/libgcc_s.so.1 # specifically, the ./flatc invocation 'exits' 'normally', but on running # dtors(?) it will hit the assertion RUN cd src/chromium-113.0.5672.92/out/bld \ && ninja flatc \ && ./flatc --help