test: config search path (using docker)

This commit is contained in:
2023-11-23 09:42:17 +11:00
parent 1b5c48071c
commit 6e85e12993
8 changed files with 23 additions and 1 deletions

9
docker/Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM ubuntu:22.04
ADD target/debug/init /usr/local/bin/init
ADD docker/ /
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/entry.sh Normal file
View File

View File

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

View File

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

View File

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