25 lines
401 B
Text
25 lines
401 B
Text
|
FROM docker.io/library/debian:buster
|
||
|
|
||
|
RUN apt-get update && apt-get -y install cron python3 python3-pip
|
||
|
|
||
|
RUN pip3 install requests
|
||
|
|
||
|
COPY ts-cron /etc/cron.d/ts-cron
|
||
|
|
||
|
RUN crontab /etc/cron.d/ts-cron
|
||
|
|
||
|
RUN mkdir /TerraSync
|
||
|
COPY TerraSync /TerraSync
|
||
|
|
||
|
COPY run.sh .
|
||
|
|
||
|
RUN mkdir /scenery /log /config
|
||
|
|
||
|
VOLUME /scenery
|
||
|
VOLUME /log
|
||
|
VOLUME /config
|
||
|
|
||
|
ENV URL http://ukmirror.flightgear.org/fgscenery
|
||
|
|
||
|
CMD cron -f
|