Commit graph

18 commits

Author SHA1 Message Date
Leopere
d6cd2f6b51 Adding node-gyp package
Configuration advancements
2018-06-05 13:55:52 -04:00
Leopere
7d0ce6cfb1 Changed shebang 2018-06-05 12:34:32 -04:00
Leopere
9a224e946a Removed debug line 2018-06-05 12:27:51 -04:00
Leopere
74542f931e Commented on a line I will need to delete or change 2018-06-04 02:50:57 -04:00
Leopere
4c7c378eb5 * 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
Leopere
7eb33eca3e Marked section for eventual deletion 2018-06-02 18:53:00 -04:00
Leopere
ff797d03cb Commenting and added another instance of final_permset 2018-06-02 18:51:43 -04:00
Leopere
cd61c4c2e6 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
Leopere
a4a4f243c1 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
Leopere
0aafe775ea Fail entrypoint better 2018-06-02 14:40:49 -04:00
Leopere
ea926b5276 Feedback clarification 2018-06-01 16:23:27 -04:00
Leopere
54cf3893eb Clarification in comments 2018-06-01 16:22:13 -04:00
Leopere
288577c92c Cleaning up permissions assertion 2018-06-01 16:20:50 -04:00
Leopere
b41f98c758 spaces instead of tabs 2018-06-01 16:15:33 -04:00
Leopere
a0d8641b91 Added +x to docker-entrypoint.sh 2018-06-01 16:14:36 -04:00
Leopere
25bca3a7ad 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
Leopere
221554c6e9 Adding some basic context to the plans for this file 2018-05-31 20:15:49 -04:00
Leopere
107f7aeff3 Adding base docker-entrypoint.sh 2018-05-31 20:08:01 -04:00