2024-07-17 23:33:47 +00:00
|
|
|
FROM dockurr/strfry:0.9.6
|
|
|
|
|
2024-07-24 16:56:54 +00:00
|
|
|
RUN apk add --no-cache torsocks
|
2024-07-20 13:03:04 +00:00
|
|
|
|
2024-07-22 12:54:03 +00:00
|
|
|
RUN echo "TorAddress 127.0.0.1" >> /etc/tor/torsocks.conf
|
|
|
|
RUN echo "TorPort 9050" >> /etc/tor/torsocks.conf
|
2024-07-17 23:33:47 +00:00
|
|
|
|
2024-07-24 16:56:54 +00:00
|
|
|
# Setting up crontab
|
|
|
|
COPY crontab /tmp/crontab
|
|
|
|
RUN cat /tmp/crontab > /etc/crontabs/root
|
|
|
|
|
2024-07-24 17:20:13 +00:00
|
|
|
COPY sync.sh /etc/strfry/sync.sh
|
2024-07-19 10:51:06 +00:00
|
|
|
COPY entrypoint.sh /etc/strfry/entrypoint.sh
|
2024-07-17 23:33:47 +00:00
|
|
|
|
2024-07-19 10:51:06 +00:00
|
|
|
RUN chmod +x /etc/strfry/entrypoint.sh
|
2024-07-24 17:27:44 +00:00
|
|
|
RUN chmod +x /etc/strfry/sync.sh
|
2024-07-17 23:33:47 +00:00
|
|
|
|
2024-07-19 10:51:06 +00:00
|
|
|
ENTRYPOINT ["/etc/strfry/entrypoint.sh"]
|