usaco-runner (2ea9980d58cd2a162a9da13b7f8e5b740fbc58b7)

Published 2026-10-20 14:02:29 +01:00 by adamf

Installation

docker pull git.adam-french.co.uk/adamf/usaco-runner:2ea9980d58cd2a162a9da13b7f8e5b740fbc58b7
sha256:fb0ed98743df51d48066dbf189821ffc911882a305f60e6e93ea9d7c66a236c8

Images

Digest OS / Arch Size
b573142724 linux/amd64 271 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.24.2-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-10-20 14:02:29 +01:00
0
OCI / Docker
Versions (11) View all