adding validated services? patching forcad_local.py
This commit is contained in:
12
OmCTF-2025/services/bashist/Dockerfile
Normal file
12
OmCTF-2025/services/bashist/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM bash:5.3.3-alpine3.22
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk update && apk add jq sqlite postgresql-client
|
||||
COPY ./server.sh ./server.sh
|
||||
COPY ./static ./static
|
||||
RUN chown nobody:nobody -R /app
|
||||
|
||||
USER nobody:nobody
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/bash", "/app/server.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user