Commit graph

21 commits

Author SHA1 Message Date
chamunks
981d688145 Using cp instead of mv
Disabling permissions assertion for now.
2018-06-05 14:20:51 -04:00
chamunks
b4bd8df557 removed set -u it breaks unbound vars 2018-06-05 14:06:45 -04:00
chamunks
225684228d Sed apparently supports custom separators 2018-06-05 13:59:05 -04:00
chamunks
80f1bc8950 Adding node-gyp package
Configuration advancements
2018-06-05 13:55:52 -04:00
chamunks
8dc96e54ee Changed shebang 2018-06-05 12:34:32 -04:00
chamunks
72451605c0 Removed debug line 2018-06-05 12:27:51 -04:00
chamunks
1e9f36dc7a Commented on a line I will need to delete or change 2018-06-04 02:50:57 -04:00
chamunks
441be0adcc * Major addition, configuration installation
This commit is a rather large one adding a bunch of environment vars
installing only the environment variables that have been set.
Also copying the default template configs into the destination /app/ dir
* Clarified where the bulk of the work gets done with a commented header
There will be a significant amount of sanitation that will need added.
2018-06-04 01:45:14 -04:00
chamunks
a59c99382e Marked section for eventual deletion 2018-06-02 18:53:00 -04:00
chamunks
eee0608eb3 Commenting and added another instance of final_permset 2018-06-02 18:51:43 -04:00
chamunks
36b42e2107 major rewrite of docker-entrypoint
Original entrypoint was basically a placeholder for me anyways.
I need to add a few functions for configuration and then start testing.
2018-06-02 18:46:51 -04:00
chamunks
f8f8c3ab51 Fail better
https://unix.stackexchange.com/questions/384305/debugging-scripts-what-is-the-difference-between-x-to-set-euxo-pipefail?rq=1
2018-06-02 18:21:57 -04:00
chamunks
568b175950 Fail entrypoint better 2018-06-02 14:40:49 -04:00
chamunks
0273a024ea Feedback clarification 2018-06-01 16:23:27 -04:00
chamunks
1d4fa0ecc3 Clarification in comments 2018-06-01 16:22:13 -04:00
chamunks
31d020251e Cleaning up permissions assertion 2018-06-01 16:20:50 -04:00
chamunks
4eea5da88f spaces instead of tabs 2018-06-01 16:15:33 -04:00
chamunks
d6c1073933 Added +x to docker-entrypoint.sh 2018-06-01 16:14:36 -04:00
chamunks
3d008be714 Adding some tests for currently installed content.
I may completely rewrite this later but what it does is it checks if
there is anything in the /app/ directory and then if theres nothing it
installs our fresh copy that the speech user/group cannot change
personally.

The entrypoint script should run on container instantiation before the
CMD directive which should just be a simple npm command so that docker's
own process monitoring can work correctly.
2018-06-01 13:41:26 -04:00
chamunks
5b206a50f9 Adding some basic context to the plans for this file 2018-05-31 20:15:49 -04:00
chamunks
dc1e5922d5 Adding base docker-entrypoint.sh 2018-05-31 20:08:01 -04:00