usaco-runner (latest)

Published 2026-11-26 16:15:46 +00:00 by adamf

Installation

docker pull git.adam-french.co.uk/adamf/usaco-runner:latest
sha256:eca34cce9468944871b50774080596602eb61cbe0d4df2f7a7cbb3928f332a38

Images

Digest OS / Arch Size
5925dd3422 linux/amd64 272 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.24.4-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache g++ musl-dev python3 clang-extra-tools ruff tini && adduser -D -H -u 1000 app # buildkit
RUN /bin/sh -c header=$(echo '#include <bits/stdc++.h>' | g++ -std=c++17 -x c++ -E -H - 2>&1 >/dev/null | grep -m1 'bits/stdc++\.h$' | sed 's/^\.* //') && test -f "$header" && mkdir -p /opt/pch/bits && g++ -std=c++17 -O2 -DLOCAL -x c++-header "$header" -o /opt/pch/bits/stdc++.h.gch && clang++ -std=c++17 -DLOCAL -x c++-header "$header" -o /opt/pch/stdc++.pch # buildkit
COPY /out/usacorunner /app/usacorunner # buildkit
USER app
ENV TMPDIR=/tmp
EXPOSE 8081/tcp
HEALTHCHECK {Test:[CMD-SHELL wget -qO- http://localhost:8081/health || exit 1] Interval:30s Timeout:5s StartPeriod:5s StartInterval:0s Retries:3}
ENTRYPOINT ["/sbin/tini" "--"]
CMD ["/app/usacorunner"]
Details
Container
2026-11-26 16:15:46 +00:00
143
OCI / Docker
Versions (11) View all