wip: rearrange docker directory

This commit is contained in:
2023-12-02 09:09:02 +11:00
parent 05dde284a7
commit 212ae4847a
6 changed files with 0 additions and 0 deletions

9
docker/dev/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM ubuntu:22.04
ADD target/debug/init /usr/local/bin/init
ADD docker/etc/ /etc/
RUN chmod ugo+x /etc/wingmate/services/one && chmod ugo+x /etc/wingmate/services/two.sh && \
chmod ugo-x /etc/wingmate/services/three.sh
CMD [ "/usr/local/bin/init" ]

0
docker/dev/entry.sh Normal file
View File

View File

@@ -0,0 +1,3 @@
17 * * * * sleep 1
*/12 * * * * sleep 1
12,17,27 * * * * sleep 1

View File

@@ -0,0 +1 @@
you cannot run this file

View File

@@ -0,0 +1,3 @@
#!/bin/bash
exec sleep 1

View File

@@ -0,0 +1,3 @@
#!/bin/bash
exec sleep 1