write-ups-challenges-2020-2021/scheming-schemer/third/Dockerfile

13 lines
216 B
Docker
Raw Normal View History

2022-11-24 17:03:20 +00:00
from racket/racket:8.0-full
WORKDIR /data
COPY flag.txt .
COPY calculator-app.rkt .
COPY docker_entrypoint.sh .
RUN chmod +x docker_entrypoint.sh
RUN useradd ctf
USER ctf
ENTRYPOINT ["/data/docker_entrypoint.sh"]