refactor(samples/httpaste.it): finalize initial sample

- add tor daemon
- clean directory structure
This commit is contained in:
Tiara Rodney 2022-04-13 12:54:59 +02:00
parent d558a65609
commit 60a01ea511
7 changed files with 49 additions and 2 deletions

View file

@ -0,0 +1,10 @@
FROM debian:bullseye-slim
RUN apt-get update -y && apt-get install -y tor
COPY ./usr/local/sbin/hostname.sh /usr/local/sbin/hostname
RUN chmod +x /usr/local/sbin/hostname
USER debian-tor
ENTRYPOINT ["tor"]