changed repo structure
This commit is contained in:
15
training/h4tum/IntroZ3/tasks/chall2_dreamer/Dockerfile
Normal file
15
training/h4tum/IntroZ3/tasks/chall2_dreamer/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
# docker build -t dreamer . && docker run --rm -p 1337:1337 --name dreamer -dit dreamer
|
||||
FROM archlinux:latest
|
||||
|
||||
RUN pacman -Sy --noconfirm socat gcc
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY dream /app/
|
||||
RUN chmod +x /app/dream
|
||||
ARG FLAG=GPNCTF{fake_flag}
|
||||
RUN echo "$FLAG" > flag.txt
|
||||
|
||||
EXPOSE 1337
|
||||
|
||||
ENTRYPOINT [ "socat", "tcp-l:1337,reuseaddr,fork", "EXEC:./dream,stderr" ]
|
||||
Reference in New Issue
Block a user