refactor(samples/httpaste.it): finalize initial sample
- add tor daemon - clean directory structure
This commit is contained in:
parent
d558a65609
commit
60a01ea511
7 changed files with 49 additions and 2 deletions
10
samples/httpaste.it/tor/Dockerfile
Normal file
10
samples/httpaste.it/tor/Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue