mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 14:54:34 +00:00
- 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>
11 lines
422 B
Docker
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
|