prole/tests/shellspec/.vendor/shellspec-0.28.1/contrib/helpers/Dockerfile
chrisfu 909e92109e Refactor shell layout; add shellspec + authority
- Introduce lib/shell helpers and keep etc/* scripts thin via compatibility shims

- Move Kerberos validation to scripts/validation/check_kerberos.sh and update callers

- Add deterministic shellspec unit tests under tests/shellspec/ and wire Maven to run them

- Add minimal Spring Boot authority module with startup + /health endpoint and Maven wiring

- Document the new layout in docs/layout.md

Co-authored-by: Junie <junie@jetbrains.com>
2026-03-13 09:19:56 -07:00

11 lines
422 B
Docker

FROM alpine
RUN apk add --no-cache gcc libc-dev
ADD https://github.com/ncopa/su-exec/archive/v0.2.tar.gz /
COPY ./src/ ./src
RUN gcc --static ./src/mksock.c -o /usr/local/bin/mksock \
&& gcc --static ./src/invokesh.c -o /usr/local/bin/invokesh \
&& cp ./src/fake-nc.sh /usr/local/bin/nc \
&& tar xzf v0.2.tar.gz \
&& gcc -static /su-exec-0.2/su-exec.c -o /usr/local/bin/su-exec \
&& chmod ug+s /usr/local/bin/su-exec