File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,12 @@ if [ "$1" = "unitd" ] || [ "$1" = "unitd-debug" ]; then
47
47
curl_put $f " certificates/$( basename $f .pem) "
48
48
done
49
49
50
+ echo " $0 : Looking for JavaScript modules in /docker-entrypoint.d/..."
51
+ for f in $( /usr/bin/find /docker-entrypoint.d/ -type f -name " *.js" ) ; do
52
+ echo " $0 : Uploading JavaScript module: $f "
53
+ curl_put $f " js_modules/$( basename $f .js) "
54
+ done
55
+
50
56
echo " $0 : Looking for configuration snippets in /docker-entrypoint.d/..."
51
57
for f in $( /usr/bin/find /docker-entrypoint.d/ -type f -name " *.json" ) ; do
52
58
echo " $0 : Applying configuration $f " ;
@@ -60,7 +66,7 @@ if [ "$1" = "unitd" ] || [ "$1" = "unitd-debug" ]; then
60
66
done
61
67
62
68
# warn on filetypes we don't know what to do with
63
- for f in $( /usr/bin/find /docker-entrypoint.d/ -type f -not -name " *.sh" -not -name " *.json" -not -name " *.pem" ) ; do
69
+ for f in $( /usr/bin/find /docker-entrypoint.d/ -type f -not -name " *.sh" -not -name " *.json" -not -name " *.pem" -not -name " *.js " ) ; do
64
70
echo " $0 : Ignoring $f " ;
65
71
done
66
72
You can’t perform that action at this time.
0 commit comments