automated terminal push
This commit is contained in:
23
Dockerfile
23
Dockerfile
@@ -32,26 +32,3 @@ RUN bash installs/cron.bash
|
||||
COPY provision/startup/startup.sh /startup.sh
|
||||
|
||||
##
|
||||
|
||||
|
||||
####
|
||||
|
||||
COPY ping.script /tmp/ping.bash
|
||||
|
||||
RUN chmod +x /tmp/ping.bash
|
||||
|
||||
COPY ping2.script /tmp/ping2.bash
|
||||
|
||||
RUN chmod +x /tmp/ping2.bash
|
||||
|
||||
RUN ls -lha /tmp/
|
||||
|
||||
####
|
||||
|
||||
COPY cronfile /etc/cron.d/cronfile
|
||||
|
||||
# Give execution rights on the cron job
|
||||
RUN chmod 0644 /etc/cron.d/cronfile
|
||||
|
||||
# Apply the cron job
|
||||
RUN crontab -u root /etc/cron.d/cronfile
|
||||
|
||||
Reference in New Issue
Block a user