File size: 423 Bytes
e0263ee | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | FROM debian:stable
RUN apt-get update && apt-get install -y \
python3 \
postfix \
curl \
vim \
socat \
netcat-traditional \
mailutils \
sudo
WORKDIR /challenge
COPY challenge_files/entrypoint.sh /challenge/
COPY challenge_files/watcher.sh /challenge/
RUN useradd --create-home challenge_user
ENTRYPOINT ["bash", "/challenge/entrypoint.sh"]
USER root
RUN mkdir -p /app && chmod 777 /app
|